final rename of domain stuff
Signed-off-by: Ben Hall <ben@benh.codes>
This commit is contained in:
parent
95b2a0945f
commit
990c7feb09
@ -2,6 +2,8 @@ package api
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
|
"math"
|
||||||
|
|
||||||
"github.com/TicketsBot/GoPanel/botcontext"
|
"github.com/TicketsBot/GoPanel/botcontext"
|
||||||
"github.com/TicketsBot/GoPanel/utils/types"
|
"github.com/TicketsBot/GoPanel/utils/types"
|
||||||
"github.com/TicketsBot/database"
|
"github.com/TicketsBot/database"
|
||||||
@ -9,7 +11,6 @@ import (
|
|||||||
"github.com/rxdn/gdl/objects/interaction/component"
|
"github.com/rxdn/gdl/objects/interaction/component"
|
||||||
"github.com/rxdn/gdl/rest"
|
"github.com/rxdn/gdl/rest"
|
||||||
"github.com/rxdn/gdl/utils"
|
"github.com/rxdn/gdl/utils"
|
||||||
"math"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
type multiPanelMessageData struct {
|
type multiPanelMessageData struct {
|
||||||
@ -38,7 +39,7 @@ func multiPanelIntoMessageData(panel database.MultiPanel, isPremium bool) multiP
|
|||||||
func (d *multiPanelMessageData) send(ctx *botcontext.BotContext, panels []database.Panel) (uint64, error) {
|
func (d *multiPanelMessageData) send(ctx *botcontext.BotContext, panels []database.Panel) (uint64, error) {
|
||||||
if !d.IsPremium {
|
if !d.IsPremium {
|
||||||
// TODO: Don't harcode
|
// TODO: Don't harcode
|
||||||
d.Embed.SetFooter("Powered by ticketsbot.cloud", "https://ticketsbot.net/assets/img/logo.png")
|
d.Embed.SetFooter("Powered by ticketsbot.cloud", "https://ticketsbot.cloud/assets/img/logo.png")
|
||||||
}
|
}
|
||||||
|
|
||||||
var components []component.Component
|
var components []component.Component
|
||||||
|
@ -70,7 +70,7 @@ func (p *panelMessageData) send(c *botcontext.BotContext) (uint64, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if !p.IsPremium {
|
if !p.IsPremium {
|
||||||
e.SetFooter("Powered by ticketsbot.cloud", "https://ticketsbot.net/assets/img/logo.png")
|
e.SetFooter("Powered by ticketsbot.cloud", "https://ticketsbot.cloud/assets/img/logo.png")
|
||||||
}
|
}
|
||||||
|
|
||||||
data := rest.CreateMessageData{
|
data := rest.CreateMessageData{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user