sticky messages now work without a modal and also with a context menu

This commit is contained in:
2024-03-19 00:40:52 +01:00
parent d681b167ea
commit 3b86f60426
4 changed files with 62 additions and 87 deletions

View File

@@ -21,7 +21,7 @@ type Command struct {
DynamicModalIDs func() []string
}
var commands []Command = []Command{cmd_form, cmd_tag, cmd_tag_short, cmd_dadjoke, cmd_ping, cmd_ask, cmd_sticky, cmd_cat, cmd_autojoinroles, cmd_autopublish}
var commands []Command = []Command{cmd_form, cmd_tag, cmd_tag_short, cmd_dadjoke, cmd_ping, cmd_ask, cmd_sticky, cmd_cat, cmd_autojoinroles, cmd_autopublish, context_sticky}
func ready(s *discordgo.Session, event *discordgo.Ready) {
logrus.Info("Starting up...")