diff --git a/client/discord/handler/handler.go b/client/discord/handler/handler.go index b4f7324..5f31ea0 100644 --- a/client/discord/handler/handler.go +++ b/client/discord/handler/handler.go @@ -9,10 +9,10 @@ import ( ) type client struct { - Commands []Command - Components []Component - ListenPostsHandler func(s *discordgo.Session, th *discordgo.ThreadCreate) - Tags []discordgo.ForumTag + Commands []Command + Components []Component + + Tags []discordgo.ForumTag controller controller.WorkflowController conf *domain.DiscordConfig @@ -50,7 +50,6 @@ func InitRouter(wc controller.WorkflowController, conf *domain.DiscordConfig) *c Moderated: true, EmojiName: "✅", }) - // r.ListenPostsHandler = r.ListenPosts return &r }