mirror of
				https://gitlab.com/Kwoth/nadekobot.git
				synced 2025-11-03 16:24:27 -05:00 
			
		
		
		
	Fixed .betstats not working on european locales.
- Upped version to 4.3.12
This commit is contained in:
		@@ -1,7 +1,7 @@
 | 
			
		||||
<Project Sdk="Microsoft.NET.Sdk">
 | 
			
		||||
 | 
			
		||||
    <PropertyGroup>
 | 
			
		||||
        <TargetFramework>net6.0</TargetFramework>
 | 
			
		||||
        <TargetFramework>net7.0</TargetFramework>
 | 
			
		||||
        <LangVersion>preview</LangVersion>
 | 
			
		||||
        <Nullable>enable</Nullable>
 | 
			
		||||
        <EnablePreviewFeatures>true</EnablePreviewFeatures>
 | 
			
		||||
 
 | 
			
		||||
@@ -104,8 +104,7 @@ public sealed class GamblingTxTracker : ITxTracker, INService, IReadyExecutor
 | 
			
		||||
    public async Task<IReadOnlyCollection<GamblingStats>> GetAllAsync()
 | 
			
		||||
    {
 | 
			
		||||
        await using var ctx = _db.GetDbContext();
 | 
			
		||||
        return await ctx
 | 
			
		||||
            .GetTable<GamblingStats>()
 | 
			
		||||
            .ToListAsync();
 | 
			
		||||
        return await ctx.Set<GamblingStats>()
 | 
			
		||||
            .ToListAsyncEF();
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
@@ -7,7 +7,7 @@ namespace NadekoBot.Services;
 | 
			
		||||
 | 
			
		||||
public sealed class StatsService : IStatsService, IReadyExecutor, INService
 | 
			
		||||
{
 | 
			
		||||
    public const string BOT_VERSION = "4.3.11";
 | 
			
		||||
    public const string BOT_VERSION = "4.3.12";
 | 
			
		||||
 | 
			
		||||
    public string Author
 | 
			
		||||
        => "Kwoth#2452";
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user