|
|
@ -98,9 +98,6 @@ func bumpTimer(s *discordgo.Session) { |
|
|
|
bump = false |
|
|
|
bump = false |
|
|
|
config.BumpTime = time.Now() |
|
|
|
config.BumpTime = time.Now() |
|
|
|
time.Sleep(2 * time.Hour) |
|
|
|
time.Sleep(2 * time.Hour) |
|
|
|
if time.Since(lastActiveTime) < (5 * time.Minute) { |
|
|
|
|
|
|
|
s.ChannelMessageSend(lastActiveChan, "!d bump is ready, please use it. (say \"!d bump\" without the quotes)") |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
s.ChannelMessageSend(config.AdminChannel, "!d bump is ready.") |
|
|
|
s.ChannelMessageSend(config.AdminChannel, "!d bump is ready.") |
|
|
|
bump = true |
|
|
|
bump = true |
|
|
|
} |
|
|
|
} |
|
|
|