|
|
@ -86,7 +86,7 @@ func activeInteraction(s *discordgo.Session, m string) { |
|
|
|
|
|
|
|
|
|
|
|
func rebootBump() { |
|
|
|
func rebootBump() { |
|
|
|
time.Sleep(time.Until(config.BumpTime.Add(2 * time.Hour))) |
|
|
|
time.Sleep(time.Until(config.BumpTime.Add(2 * time.Hour))) |
|
|
|
dg.ChannelMessageSend(config.AdminChannel, "!d bump is ready") |
|
|
|
dg.ChannelMessageSend(config.AdminChannel, "/bump is ready") |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -97,7 +97,7 @@ 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) |
|
|
|
s.ChannelMessageSend(config.AdminChannel, "!d bump is ready.") |
|
|
|
s.ChannelMessageSend(config.AdminChannel, "/bump is ready.") |
|
|
|
bump = true |
|
|
|
bump = true |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|