mirror of
				https://gitlab.com/Kwoth/nadekobot.git
				synced 2025-11-03 16:24:27 -05:00 
			
		
		
		
	Merge branch 'v4' into v5
This commit is contained in:
		@@ -78,14 +78,14 @@ public partial class Gambling
 | 
			
		||||
        {
 | 
			
		||||
            if (await _bank.TakeAsync(userId, amount))
 | 
			
		||||
            {
 | 
			
		||||
                await ReplyErrorLocalizedAsync(strs.take_fail(N(amount),
 | 
			
		||||
                    _client.GetUser(userId)?.ToString()
 | 
			
		||||
                    ?? userId.ToString(),
 | 
			
		||||
                    CurrencySign));
 | 
			
		||||
                await ctx.OkAsync();
 | 
			
		||||
                return;
 | 
			
		||||
            }
 | 
			
		||||
            
 | 
			
		||||
            await ctx.OkAsync();
 | 
			
		||||
 | 
			
		||||
            await ReplyErrorLocalizedAsync(strs.take_fail(N(amount),
 | 
			
		||||
                _client.GetUser(userId)?.ToString()
 | 
			
		||||
                ?? userId.ToString(),
 | 
			
		||||
                CurrencySign));
 | 
			
		||||
        }
 | 
			
		||||
        
 | 
			
		||||
        private async Task BankAwardInternalAsync(long amount, ulong userId)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user