summaryrefslogtreecommitdiff
path: root/DiscoBot/Program.cs
diff options
context:
space:
mode:
Diffstat (limited to 'DiscoBot/Program.cs')
-rw-r--r--DiscoBot/Program.cs4
1 files changed, 1 insertions, 3 deletions
diff --git a/DiscoBot/Program.cs b/DiscoBot/Program.cs
index 6ddac5d..4314a8d 100644
--- a/DiscoBot/Program.cs
+++ b/DiscoBot/Program.cs
@@ -4,7 +4,6 @@ using System.Linq;
using System.Net;
using System.Reflection;
using System.Threading.Tasks;
-using DiscoBot.Audio;
using Discord;
using Discord.Commands;
using Discord.WebSocket;
@@ -15,7 +14,7 @@ namespace DiscoBot
{
private DiscordSocketClient client;
private CommandService commands;
- private IServiceProvider services;
+ private IServiceProvider services = null;
public static void Main(string[] args)
{
@@ -109,7 +108,6 @@ namespace DiscoBot
private static void OnProcessExit(object sender, EventArgs e)
{
Console.WriteLine("I'm out of here");
- Voice.Client.StopAsync();
}
}
} \ No newline at end of file