now deletes deleted messages from database

This commit is contained in:
2024-03-11 10:22:58 +01:00
parent 3819a3eeff
commit 8935fba213
5 changed files with 47 additions and 14 deletions

View File

@@ -41,6 +41,7 @@ func main() {
bot.AddHandler(ready)
bot.AddHandler(interactionCreate)
bot.AddHandler(messageCreate)
bot.AddHandler(messageDelete)
bot.AddHandler(guildMemberJoin)
err = bot.Open()
if err != nil {