no zero for you

This commit is contained in:
kolaente 2021-05-15 20:51:37 +02:00
parent b0eff5e3da
commit c762556b3d
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 5 additions and 0 deletions

View File

@ -90,6 +90,11 @@ func messageOstmarkHandler(s *discordgo.Session, m *discordgo.MessageCreate) {
fmt.Println("Found amount: ", amount)
if amount == 0 {
fmt.Println("Amount is 0, not doing anything")
return
}
messages := []string{
"Ganze " + fmtCommaf(amount) + " €!",
}