diff options
author | Kobert-P <kassiaK@yahoo.de> | 2018-06-11 20:32:12 +0200 |
---|---|---|
committer | Kobert-P <kassiaK@yahoo.de> | 2018-06-11 20:32:12 +0200 |
commit | e8d91f3e0b8e10001e72859a2942b6eb1b2c7061 (patch) | |
tree | 073287ddaeda9056b2130c0550a7b024d6123761 /DiscoBot/Program.cs | |
parent | 3374adf732aebae758daeb514f84236dd79635c8 (diff) | |
parent | af937e7a8519ea3b06be651eb21b54132295c510 (diff) |
Merge branch 'master' of https://github.com/TrueDoctor/DiscoBot
Diffstat (limited to 'DiscoBot/Program.cs')
-rw-r--r-- | DiscoBot/Program.cs | 7 |
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(); |