summaryrefslogtreecommitdiff
path: root/DiscoBot/Program.cs
diff options
context:
space:
mode:
Diffstat (limited to 'DiscoBot/Program.cs')
-rw-r--r--DiscoBot/Program.cs7
1 files changed, 6 insertions, 1 deletions
diff --git a/DiscoBot/Program.cs b/DiscoBot/Program.cs
index 05577ce..89a1a42 100644
--- a/DiscoBot/Program.cs
+++ b/DiscoBot/Program.cs
@@ -10,6 +10,8 @@ using Microsoft.Extensions.DependencyInjection;
namespace DiscoBot
{
+ using System.IO;
+
using DiscoBot.Audio;
using DiscoBot.DSA_Game;
@@ -28,7 +30,10 @@ namespace DiscoBot
this.client = new DiscordSocketClient();
this.commands = new CommandService();
- string token = Properties.Settings.Default.Token;
+
+
+ string token = File.ReadAllText("Token");
+ //Properties.Settings.Default.Token;
this.services = new ServiceCollection().AddSingleton(new AudioService())
.BuildServiceProvider();