From 233cf6c3ebd5d191435b44a26ab25d4ef77525bc Mon Sep 17 00:00:00 2001 From: Gregory Rudolph Date: Thu, 29 Oct 2020 13:26:10 -0400 Subject: [PATCH] Debugging --- main.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.go b/main.go index bf3da11..9ab4518 100644 --- a/main.go +++ b/main.go @@ -160,13 +160,14 @@ func runPurge(s *discordgo.Session) { func ready(s *discordgo.Session, event *discordgo.Ready) { // Set the playing status. - s.UpdateStatus(0, "DreamDaddy v0.9") + s.UpdateStatus(0, "DreamDaddy v0.10") } func guildMemberUpdate(s *discordgo.Session, m *discordgo.GuildMemberUpdate) { defer log.PanicSafe() for role := range m.Roles { if fmt.Sprintf("%+v", role) == config.MonitorRole { + s.ChannelMessageSend(config.AdminChannel, "New unverified user detected.") config.Unverified[m.User.ID] = time.Now() config.Probations[m.User.ID] = time.Now() saveConfig()