Merge branch 'v4' into v5

This commit is contained in:
Kwoth
2023-04-06 02:46:11 +02:00
5 changed files with 36 additions and 28 deletions

View File

@@ -92,14 +92,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]