summaryrefslogtreecommitdiff
path: root/DiscoBot/Program.cs
diff options
context:
space:
mode:
Diffstat (limited to 'DiscoBot/Program.cs')
-rw-r--r--DiscoBot/Program.cs5
1 files changed, 2 insertions, 3 deletions
diff --git a/DiscoBot/Program.cs b/DiscoBot/Program.cs
index 5bc0195..9d3c140 100644
--- a/DiscoBot/Program.cs
+++ b/DiscoBot/Program.cs
@@ -34,9 +34,7 @@ namespace DiscoBot
string token = File.ReadAllText("Token");
//Properties.Settings.Default.Token;
-
- this.services = new ServiceCollection().AddSingleton(new AudioService())
- .BuildServiceProvider();
+
AppDomain.CurrentDomain.ProcessExit += OnProcessExit;
await this.InstallCommandsAsync();
@@ -73,6 +71,7 @@ namespace DiscoBot
return;
}
+
// Create a Command Context
var context = new CommandContext(this.client, message);