summaryrefslogtreecommitdiff
path: root/DiscoBot/Program.cs
diff options
context:
space:
mode:
Diffstat (limited to 'DiscoBot/Program.cs')
-rw-r--r--DiscoBot/Program.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/DiscoBot/Program.cs b/DiscoBot/Program.cs
index 6bf870e..e3ea828 100644
--- a/DiscoBot/Program.cs
+++ b/DiscoBot/Program.cs
@@ -10,6 +10,7 @@ using Microsoft.Extensions.DependencyInjection;
namespace DiscoBot
{
+ using DiscoBot.Audio;
using DiscoBot.Commands;
public class Program
@@ -28,7 +29,7 @@ namespace DiscoBot
string token = Properties.Settings.Default.Token;
- this.services = new ServiceCollection()
+ this.services = new ServiceCollection().AddSingleton(new AudioService())
.BuildServiceProvider();
AppDomain.CurrentDomain.ProcessExit += OnProcessExit;