|
|
|
@ -166,8 +166,7 @@ func cleanSocials(s *discordgo.Session) {
@@ -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) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|