Nice try
This commit is contained in:
parent
e63383bf58
commit
d247186ef8
4
main.go
4
main.go
|
@ -90,8 +90,8 @@ func messageOstmarkHandler(s *discordgo.Session, m *discordgo.MessageCreate) {
|
||||||
|
|
||||||
fmt.Println("Found amount: ", amount)
|
fmt.Println("Found amount: ", amount)
|
||||||
|
|
||||||
if amount == 0 {
|
if amount <= 0 {
|
||||||
fmt.Println("Amount is 0, not doing anything")
|
s.ChannelMessageSend(m.ChannelID, "Nice try")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue