- 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 {
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
}