Browse Source

Fix formatting

master
Gregory Rudolph 3 years ago
parent
commit
21f5d2bb56
Signed by: rudi
GPG Key ID: EF64F3CBD1A1EBDD
  1. 6
      commands.go

6
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)))
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")))
return true
}
@ -255,7 +255,7 @@ func Status(b BotCommand) bool { @@ -255,7 +255,7 @@ func Status(b BotCommand) bool {
}
status += "```"
} else {
status += "There are no pending verifications."
status += "There are no pending verifications.\n"
}
if len(config.Probations) > 0 {
status += "\nThe following users are on probation: \n```"
@ -265,7 +265,7 @@ func Status(b BotCommand) bool { @@ -265,7 +265,7 @@ func Status(b BotCommand) bool {
}
status += "```"
} else {
status += "There are no users on probation."
status += "There are no users on probation.\n"
}
b.Session.ChannelMessageSend(config.AdminChannel, status)
statistics := "```"

Loading…
Cancel
Save