diff --git a/main.go b/main.go index 3f76215..3fe42c1 100644 --- a/main.go +++ b/main.go @@ -76,6 +76,9 @@ func main() { dg.AddHandler(guildMemberBanned) dg.AddHandler(messageCreate) dg.AddHandler(readReaction) + dg.AddHandler(guildMemberUpdate) + + dg.Identify.Intents = discordgo.MakeIntent(discordgo.IntentsAll) err = dg.Open() if err != nil { @@ -159,7 +162,7 @@ func runPurge(s *discordgo.Session) { func ready(s *discordgo.Session, event *discordgo.Ready) { // Set the playing status. - s.UpdateStatus(0, "DreamDaddy v0.10") + s.UpdateStatus(0, "DreamDaddy v0.11") } func guildMemberUpdate(s *discordgo.Session, m *discordgo.GuildMemberUpdate) {