mirror of
				https://gitlab.com/Kwoth/nadekobot.git
				synced 2025-11-03 16:24:27 -05:00 
			
		
		
		
	Fixed patreon reward bug
This commit is contained in:
		@@ -295,7 +295,7 @@ namespace NadekoBot.Modules.Utility.Services
 | 
			
		||||
                        var toAward = eligibleFor - usr.AmountRewardedThisMonth;
 | 
			
		||||
 | 
			
		||||
                        usr.LastReward = now;
 | 
			
		||||
                        usr.AmountRewardedThisMonth = toAward;
 | 
			
		||||
                        usr.AmountRewardedThisMonth = eligibleFor;
 | 
			
		||||
                        await uow.SaveChangesAsync();
 | 
			
		||||
 | 
			
		||||
                        await _currency.AddAsync(userId, "Patreon reward - update", toAward, gamble: true);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user