final rename of domain stuff

Signed-off-by: Ben Hall <ben@benh.codes>
This commit is contained in:
Ben Hall 2025-01-11 19:28:28 +00:00
parent 95b2a0945f
commit 990c7feb09
2 changed files with 4 additions and 3 deletions

View File

@ -2,6 +2,8 @@ package api
import (
"context"
"math"
"github.com/TicketsBot/GoPanel/botcontext"
"github.com/TicketsBot/GoPanel/utils/types"
"github.com/TicketsBot/database"
@ -9,7 +11,6 @@ import (
"github.com/rxdn/gdl/objects/interaction/component"
"github.com/rxdn/gdl/rest"
"github.com/rxdn/gdl/utils"
"math"
)
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) {
if !d.IsPremium {
// 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

View File

@ -70,7 +70,7 @@ func (p *panelMessageData) send(c *botcontext.BotContext) (uint64, error) {
}
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{