Browse Source

removed modifications made to this project while thinking of how to implement my changes.

pull/1806/head
emorell96 4 years ago
parent
commit
67d833a8b5
1 changed files with 0 additions and 2 deletions
  1. +0
    -2
      samples/02_commands_framework/Program.cs

+ 0
- 2
samples/02_commands_framework/Program.cs View File

@@ -7,7 +7,6 @@ using Discord;
using Discord.WebSocket; using Discord.WebSocket;
using Discord.Commands; using Discord.Commands;
using _02_commands_framework.Services; using _02_commands_framework.Services;
using Discord.Rest;


namespace _02_commands_framework namespace _02_commands_framework
{ {
@@ -60,7 +59,6 @@ namespace _02_commands_framework


private ServiceProvider ConfigureServices() private ServiceProvider ConfigureServices()
{ {
//var discordrestconfig = new DiscordRestConfig { RestClientProvider = (url => new };
return new ServiceCollection() return new ServiceCollection()
.AddSingleton<DiscordSocketClient>() .AddSingleton<DiscordSocketClient>()
.AddSingleton<CommandService>() .AddSingleton<CommandService>()


Loading…
Cancel
Save