From 6543b93a67a14ffa6f184e28b67912df7e314315 Mon Sep 17 00:00:00 2001 From: Dennis Kobert Date: Sun, 5 May 2019 21:45:13 +0200 Subject: fixed Properties load path --- DiscoBot/DiscoBot.csproj | 25 +++++++++++++++---------- DiscoBot/Program.cs | 2 +- DiscoBot/packages.config | 12 ++++++------ 3 files changed, 22 insertions(+), 17 deletions(-) (limited to 'DiscoBot') diff --git a/DiscoBot/DiscoBot.csproj b/DiscoBot/DiscoBot.csproj index d25a5e9..7da96db 100644 --- a/DiscoBot/DiscoBot.csproj +++ b/DiscoBot/DiscoBot.csproj @@ -35,23 +35,28 @@ 4 - - ..\packages\Discord.Net.Commands.2.0.0-beta\lib\netstandard1.1\Discord.Net.Commands.dll + + ..\packages\Discord.Net.Commands.2.0.1\lib\net46\Discord.Net.Commands.dll + True - - ..\packages\Discord.Net.Core.2.0.0-beta\lib\net45\Discord.Net.Core.dll + + ..\packages\Discord.Net.Core.2.0.1\lib\net46\Discord.Net.Core.dll + True - - ..\packages\Discord.Net.Rest.2.0.0-beta\lib\net45\Discord.Net.Rest.dll + + ..\packages\Discord.Net.Rest.2.0.1\lib\net46\Discord.Net.Rest.dll + True ..\packages\Discord.Net.Rpc.1.0.2\lib\net45\Discord.Net.Rpc.dll - - ..\packages\Discord.Net.Webhook.2.0.0-beta\lib\netstandard1.1\Discord.Net.Webhook.dll + + ..\packages\Discord.Net.Webhook.2.0.1\lib\netstandard1.3\Discord.Net.Webhook.dll + True - - ..\packages\Discord.Net.WebSocket.2.0.0-beta\lib\net45\Discord.Net.WebSocket.dll + + ..\packages\Discord.Net.WebSocket.2.0.1\lib\net46\Discord.Net.WebSocket.dll + True ..\packages\FSharp.Core.4.5.2\lib\net45\FSharp.Core.dll diff --git a/DiscoBot/Program.cs b/DiscoBot/Program.cs index 5dc69c1..9675b48 100644 --- a/DiscoBot/Program.cs +++ b/DiscoBot/Program.cs @@ -53,7 +53,7 @@ namespace DiscoBot this.client.MessageReceived += this.HandleCommandAsync; // Discover all of the commands in this assembly and load them. - return this.commands.AddModulesAsync(Assembly.GetEntryAssembly()); + return this.commands.AddModulesAsync(Assembly.GetEntryAssembly(), services); } public async Task HandleCommandAsync(SocketMessage messageParam) diff --git a/DiscoBot/packages.config b/DiscoBot/packages.config index 4aa29aa..b1d02d9 100644 --- a/DiscoBot/packages.config +++ b/DiscoBot/packages.config @@ -1,12 +1,12 @@  - - - - + + + + - - + + -- cgit v1.3.1