diff --git a/main.go b/main.go index 1844fae..a1d2ff5 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.3") + s.UpdateGameStatus(0, "DreamDaddy v2.4") } func guildMemberUpdate(s *discordgo.Session, m *discordgo.GuildMemberUpdate) { @@ -383,11 +383,6 @@ func messageCreate(s *discordgo.Session, m *discordgo.MessageCreate) { if time.Since(config.BumpTime) > 2*time.Hour { s.ChannelMessageSend(m.ChannelID, fmt.Sprintf("%+v please say \"!d bump\" without the quotes to bump our server :)", m.Author.Mention())) } - for k, v := range introMsg { - if m.Author.ID == k { - s.ChannelMessageDelete(config.IntroChann, v) - } - } if m.ChannelID == config.AdminChannel { if strings.HasPrefix(m.Content, rebootToken) { exit(s)