From 6f3896a90b084dd7beaf06e8b2798c1f5bf450e1 Mon Sep 17 00:00:00 2001 From: Gregory Rudolph Date: Fri, 30 Jul 2021 08:41:59 -0400 Subject: [PATCH] Clean socials, instead of talk about it --- main.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/main.go b/main.go index 17a006a..dd81601 100644 --- a/main.go +++ b/main.go @@ -166,8 +166,7 @@ func cleanSocials(s *discordgo.Session) { for _, message := range messages { _, err := s.GuildMember(config.GuildID, message.Author.ID) if err != nil { - //s.ChannelMessageDelete(channel, message.ID) - s.ChannelMessageSend(config.AdminChannel, fmt.Sprintf("Suggested delete: %+v from <#%+v>, reason: Member not found.", message.ID, channel)) + s.ChannelMessageDelete(channel, message.ID) } } }