- remove field for post listener;

This commit is contained in:
naudachu 2023-11-17 14:02:11 +05:00
parent 6e94e8acc4
commit 2c24b73a82
1 changed files with 4 additions and 5 deletions

View File

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