diff --git a/discordMessage.go b/discordMessage.go index 93e2052..bd71309 100644 --- a/discordMessage.go +++ b/discordMessage.go @@ -49,7 +49,7 @@ func messageCreate(s *discordgo.Session, m *discordgo.MessageCreate) { go bumpTimer(s) return } - if time.Since(config.BumpTime) > 2*time.Hour { + if bump { s.ChannelMessageSend(m.ChannelID, fmt.Sprintf("%+v please say \"!d bump\" without the quotes to bump our server :)", m.Author.Mention())) } if strings.HasPrefix(m.Content, s.State.User.Mention()) {