can no longer $give 0 flowers
This commit is contained in:
parent
1908ed827f
commit
b05b2b8015
@ -68,7 +68,7 @@ namespace NadekoBot.Modules.Gambling
|
||||
{
|
||||
var amountStr = e.GetArg("amount")?.Trim();
|
||||
long amount;
|
||||
if (!long.TryParse(amountStr, out amount) || amount < 0)
|
||||
if (!long.TryParse(amountStr, out amount) || amount <= 0)
|
||||
return;
|
||||
|
||||
var mentionedUser = e.Message.MentionedUsers.FirstOrDefault(u =>
|
||||
|
Loading…
Reference in New Issue
Block a user