fixed bank award giving error message instead of checkmark

This commit is contained in:
Kamal Tufekcic
2023-04-06 00:40:02 +00:00
committed by Kwoth
parent 37acdb81e8
commit b829ca0109

View File

@@ -91,14 +91,10 @@ public partial class Gambling
{
if (await _bank.AwardAsync(userId, amount))
{
await ReplyErrorLocalizedAsync(strs.take_fail(N(amount),
_client.GetUser(userId)?.ToString()
?? userId.ToString(),
CurrencySign));
await ctx.OkAsync();
return;
}
await ctx.OkAsync();
}
[Cmd]