mirror of
				https://gitlab.com/Kwoth/nadekobot.git
				synced 2025-11-03 16:24:27 -05:00 
			
		
		
		
	Fixed .deletexp command
This commit is contained in:
		@@ -13,6 +13,10 @@ Experimental changelog. Mostly based on [keepachangelog](https://keepachangelog.
 | 
				
			|||||||
  - Old embed format will still work
 | 
					  - Old embed format will still work
 | 
				
			||||||
  - There shouldn't be any breaking changes
 | 
					  - There shouldn't be any breaking changes
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					### Fixed
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					- Fixed `.deletexp` command
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## [4.1.2] - 16.04.2022
 | 
					## [4.1.2] - 16.04.2022
 | 
				
			||||||
 | 
					
 | 
				
			||||||
### Fixed
 | 
					### Fixed
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -19,7 +19,7 @@ public class DangerousCommandsService : INService
 | 
				
			|||||||
        await using var ctx = _db.GetDbContext();
 | 
					        await using var ctx = _db.GetDbContext();
 | 
				
			||||||
        await ctx.DiscordUser.UpdateAsync(_ => new DiscordUser()
 | 
					        await ctx.DiscordUser.UpdateAsync(_ => new DiscordUser()
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
            Club = null,
 | 
					            ClubId = null,
 | 
				
			||||||
            // IsClubAdmin = false,
 | 
					            // IsClubAdmin = false,
 | 
				
			||||||
            TotalXp = 0
 | 
					            TotalXp = 0
 | 
				
			||||||
        });
 | 
					        });
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -72,7 +72,7 @@
 | 
				
			|||||||
            <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
 | 
					            <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
 | 
				
			||||||
        </PackageReference>
 | 
					        </PackageReference>
 | 
				
			||||||
        
 | 
					        
 | 
				
			||||||
        <PackageReference Include="linq2db.EntityFrameworkCore" Version="6.6.1" />
 | 
					        <PackageReference Include="linq2db.EntityFrameworkCore" Version="6.7.1" />
 | 
				
			||||||
        
 | 
					        
 | 
				
			||||||
        <PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="6.0.3" />        
 | 
					        <PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="6.0.3" />        
 | 
				
			||||||
        <PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="6.0.3" />
 | 
					        <PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="6.0.3" />
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user