Browse Source

Formatting

master
Gregory Rudolph 1 year ago
parent
commit
dd433f44ad
Signed by: rudi
GPG Key ID: EF64F3CBD1A1EBDD
  1. 4
      config.go

4
config.go

@ -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
} }

Loading…
Cancel
Save