From 90c5a1c472eb92750023be66ca2abc8b0fde3a7c Mon Sep 17 00:00:00 2001 From: Gregory Rudolph Date: Tue, 12 Oct 2021 13:50:38 -0400 Subject: [PATCH] Remove social channel setup --- main.go | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/main.go b/main.go index 859f349..59c1f9c 100644 --- a/main.go +++ b/main.go @@ -28,7 +28,7 @@ var ( lastPM = make(map[string]time.Time) introMsg = make(map[string]string) quotes = []string{"The hardest choices require the strongest wills.", "You're strong, but I could snap my fingers and you'd all cease to exist.", "Fun isn't something one considers when balancing the universe. But this... does put a smile on my face.", "Perfectly balanced, as all things should be.", "I am inevitable."} - version = "3.2" + version = "git" gitCommit string commands []Command ) @@ -156,11 +156,6 @@ func runPurge(s *discordgo.Session) { } func cleanSocials(s *discordgo.Session) { - if len(config.SocialChanns) == 0 { - config.SocialChanns = append(config.SocialChanns, "730437117913858129") - config.SocialChanns = append(config.SocialChanns, "730439200771670076") - config.SocialChanns = append(config.SocialChanns, "730439324675473470") - } for _, channel := range config.SocialChanns { go func(channel string, s *discordgo.Session) { messages, _ := s.ChannelMessages(channel, 100, "", "", "")