Add member join and remove logging
CI / build (push) Has been cancelled

This commit is contained in:
Dustin Pianalto
2021-02-18 23:18:20 -09:00
parent 33e1552ce1
commit fabddd00a2
4 changed files with 224 additions and 0 deletions
+3
View File
@@ -8,6 +8,7 @@ import (
"github.com/bwmarrin/discordgo"
"github.com/dustinpianalto/disgoman"
"github.com/dustinpianalto/prepbot/internal/exts/members"
"github.com/dustinpianalto/prepbot/internal/exts/messages"
)
@@ -40,6 +41,8 @@ func main() {
}
dg.AddHandler(messages.CleanAmazonURLs)
dg.AddHandler(members.OnGuildMemberAddLogging)
dg.AddHandler(members.OnGuildMemberRemoveLogging)
err = dg.Open()
if err != nil {