mirror of
				https://gitlab.com/Kwoth/nadekobot.git
				synced 2025-11-03 16:24:27 -05:00 
			
		
		
		
	fixed bank award giving error message instead of checkmark
This commit is contained in:
		@@ -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]
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user