Browse Source

Clean up bump set formatting

master
Gregory Rudolph 4 years ago
parent
commit
a97993e830
Signed by: rudi
GPG Key ID: EF64F3CBD1A1EBDD
  1. 2
      commands.go

2
commands.go

@ -180,7 +180,7 @@ func BumpSet(b BotCommand) bool { @@ -180,7 +180,7 @@ func BumpSet(b BotCommand) bool {
return false
}
config.BumpTime = time.Now().Add(time.Duration(timer) * time.Minute).Add(-2 * time.Hour)
b.Session.ChannelMessageSend(b.Message.ChannelID, fmt.Sprintf("New bump time: %+v, expecting bump at %+v", config.BumpTime, config.BumpTime.Add(2*time.Hour).Format("15:04:05")))
b.Session.ChannelMessageSend(b.Message.ChannelID, fmt.Sprintf("New last bump time: %+v, expecting next bump at %+v", config.BumpTime.Format("15:04:05"), config.BumpTime.Add(2*time.Hour).Format("15:04:05")))
return true
}

Loading…
Cancel
Save