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();
|
var amountStr = e.GetArg("amount")?.Trim();
|
||||||
long amount;
|
long amount;
|
||||||
if (!long.TryParse(amountStr, out amount) || amount < 0)
|
if (!long.TryParse(amountStr, out amount) || amount <= 0)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
var mentionedUser = e.Message.MentionedUsers.FirstOrDefault(u =>
|
var mentionedUser = e.Message.MentionedUsers.FirstOrDefault(u =>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user