From 1b3980821af5e4f7d0d86263caa08953c714166f Mon Sep 17 00:00:00 2001 From: Gregory Rudolph Date: Sat, 27 Feb 2021 01:06:20 -0500 Subject: [PATCH] Update map to be the right way around --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index 35579c3..1844fae 100644 --- a/main.go +++ b/main.go @@ -157,7 +157,7 @@ func runPurge(s *discordgo.Session) { func ready(s *discordgo.Session, event *discordgo.Ready) { // Set the playing status. - s.UpdateGameStatus(0, "DreamDaddy v2.2") + s.UpdateGameStatus(0, "DreamDaddy v2.3") } func guildMemberUpdate(s *discordgo.Session, m *discordgo.GuildMemberUpdate) { @@ -230,7 +230,7 @@ func verifyMember(s *discordgo.Session, u discordgo.User) { st, _ := s.UserChannelCreate(u.ID) s.ChannelMessageSend(st.ID, "Your verification has been accepted, welcome!") m, _ := s.ChannelMessageSend(config.IntroChann, fmt.Sprintf("Welcome %+v please introduce yourself! :) feel free to check out <#710557387937022034> to tag your roles. Also please mute any channels you are not interested in!", u.Mention())) - introMsg[m.ID] = u.ID + introMsg[u.ID] = m.ID } func rejectVerification(s *discordgo.Session, u discordgo.User) {