no zero for you
This commit is contained in:
parent
b0eff5e3da
commit
c762556b3d
5
main.go
5
main.go
|
@ -90,6 +90,11 @@ func messageOstmarkHandler(s *discordgo.Session, m *discordgo.MessageCreate) {
|
||||||
|
|
||||||
fmt.Println("Found amount: ", amount)
|
fmt.Println("Found amount: ", amount)
|
||||||
|
|
||||||
|
if amount == 0 {
|
||||||
|
fmt.Println("Amount is 0, not doing anything")
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
messages := []string{
|
messages := []string{
|
||||||
"Ganze " + fmtCommaf(amount) + " €!",
|
"Ganze " + fmtCommaf(amount) + " €!",
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue