diff --git a/src/Discord.Net.Commands/CommandService.cs b/src/Discord.Net.Commands/CommandService.cs index bcfb54d96..f526e8f3b 100644 --- a/src/Discord.Net.Commands/CommandService.cs +++ b/src/Discord.Net.Commands/CommandService.cs @@ -300,14 +300,5 @@ namespace Discord.Commands return SearchResult.FromError(CommandError.UnknownCommand, "This input does not match any overload."); } - - public ServiceCollection CreateServiceCollection() - { - var serviceCollection = new ServiceCollection(); - serviceCollection.AddSingleton(this); - serviceCollection.AddSingleton(serviceCollection); - serviceCollection.AddSingleton(serviceCollection); - return serviceCollection; - } } }