fixed customization module implementation

This commit is contained in:
2024-04-14 16:15:57 +02:00
parent a0269f37f8
commit d308a2cfc8
9 changed files with 18 additions and 30 deletions

View File

@@ -11,6 +11,7 @@ import (
"github.com/disgoorg/disgo/events"
"github.com/disgoorg/snowflake/v2"
"github.com/sirupsen/logrus"
"github.com/vaporvee/acecore/custom"
)
type Command struct {
@@ -155,7 +156,7 @@ func messageCreate(e *events.MessageCreate) {
Footer: &discord.EmbedFooter{
Text: "📌 Sticky message",
},
Color: hexToDecimal(color["primary"]),
Color: custom.GetColor("primary"),
Description: getStickyMessageContent(e.Message.GuildID.String(), e.Message.ChannelID.String()),
},
},