mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-10 17:28:27 -04: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);
|
||||
|
Reference in New Issue
Block a user