mirror of
				https://gitlab.com/Kwoth/nadekobot.git
				synced 2025-11-04 08:34:27 -05:00 
			
		
		
		
	Merged v4 and working on adding grpc api. INcomplete
This commit is contained in:
		@@ -208,7 +208,6 @@ public sealed class Bot : IBot
 | 
			
		||||
            if (baseType is null)
 | 
			
		||||
                continue;
 | 
			
		||||
 | 
			
		||||
            Log.Information(ft.Name);
 | 
			
		||||
            var typeReader = (TypeReader)ActivatorUtilities.CreateInstance(Services, ft);
 | 
			
		||||
            var typeArgs = baseType.GetGenericArguments();
 | 
			
		||||
            _commandService.AddTypeReader(typeArgs[0], typeReader);
 | 
			
		||||
 
 | 
			
		||||
@@ -17,6 +17,7 @@
 | 
			
		||||
 | 
			
		||||
        <!-- Profile-guided optimization -->
 | 
			
		||||
        <TieredPGO>true</TieredPGO>
 | 
			
		||||
        
 | 
			
		||||
    </PropertyGroup>
 | 
			
		||||
 | 
			
		||||
    <ItemGroup>
 | 
			
		||||
@@ -32,9 +33,10 @@
 | 
			
		||||
        <PackageReference Include="Google.Apis.Urlshortener.v1" Version="1.41.1.138" />
 | 
			
		||||
        <PackageReference Include="Google.Apis.YouTube.v3" Version="1.62.1.3205" />
 | 
			
		||||
        <PackageReference Include="Google.Apis.Customsearch.v1" Version="1.49.0.2084" />
 | 
			
		||||
        <PackageReference Include="Google.Protobuf" Version="3.22.1" />
 | 
			
		||||
        <PackageReference Include="Grpc.Net.ClientFactory" Version="2.52.0" />
 | 
			
		||||
        <PackageReference Include="Grpc.Tools" Version="2.53.0">
 | 
			
		||||
        <PackageReference Include="Grpc.AspNetCore" Version="2.62.0" />
 | 
			
		||||
        <PackageReference Include="Google.Protobuf" Version="3.26.1" />
 | 
			
		||||
        <PackageReference Include="Grpc.Net.ClientFactory" Version="2.62.0" />
 | 
			
		||||
        <PackageReference Include="Grpc.Tools" Version="2.62.0">
 | 
			
		||||
            <PrivateAssets>all</PrivateAssets>
 | 
			
		||||
            <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
 | 
			
		||||
        </PackageReference>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user