Browse Source

Remove social channel setup

master
Gregory Rudolph 3 years ago
parent
commit
90c5a1c472
Signed by: rudi
GPG Key ID: EF64F3CBD1A1EBDD
  1. 7
      main.go

7
main.go

@ -28,7 +28,7 @@ var ( @@ -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) { @@ -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, "", "", "")

Loading…
Cancel
Save