mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-10 17:28:27 -04:00
Merge branch 'v4' into 'v4'
fixed bank award giving error message instead of checkmark See merge request Kwoth/nadekobot!294
This commit is contained in:
@@ -91,14 +91,10 @@ public partial class Gambling
|
|||||||
{
|
{
|
||||||
if (await _bank.AwardAsync(userId, amount))
|
if (await _bank.AwardAsync(userId, amount))
|
||||||
{
|
{
|
||||||
await ReplyErrorLocalizedAsync(strs.take_fail(N(amount),
|
await ctx.OkAsync();
|
||||||
_client.GetUser(userId)?.ToString()
|
|
||||||
?? userId.ToString(),
|
|
||||||
CurrencySign));
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
await ctx.OkAsync();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
[Cmd]
|
[Cmd]
|
||||||
|
Reference in New Issue
Block a user