From 5b227bccb69070762100de3929347601541190ce Mon Sep 17 00:00:00 2001 From: Master Kwoth Date: Sat, 21 Oct 2017 20:59:07 +0200 Subject: [PATCH] Fixed method not found errors --- NadekoBot.Core/NadekoBot.Core.csproj | 4 ---- NadekoBot.Core/Services/Impl/StatsService.cs | 4 +--- NadekoBot.Core/Services/NadekoBot.cs | 1 + NuGet.Config | 2 +- 4 files changed, 3 insertions(+), 8 deletions(-) diff --git a/NadekoBot.Core/NadekoBot.Core.csproj b/NadekoBot.Core/NadekoBot.Core.csproj index fcf7538f..0b47b22e 100644 --- a/NadekoBot.Core/NadekoBot.Core.csproj +++ b/NadekoBot.Core/NadekoBot.Core.csproj @@ -13,10 +13,6 @@ true - - - - diff --git a/NadekoBot.Core/Services/Impl/StatsService.cs b/NadekoBot.Core/Services/Impl/StatsService.cs index 9fa1b86d..304482eb 100644 --- a/NadekoBot.Core/Services/Impl/StatsService.cs +++ b/NadekoBot.Core/Services/Impl/StatsService.cs @@ -1,8 +1,6 @@ using Discord; using Discord.WebSocket; -using NadekoBot.Common.ShardCom; using NadekoBot.Extensions; -using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Globalization; @@ -23,7 +21,7 @@ namespace NadekoBot.Core.Services.Impl private readonly IBotCredentials _creds; private readonly DateTime _started; - public const string BotVersion = "2.0.0"; + public const string BotVersion = "2.0.1"; public string Author => "Kwoth#2560"; public string Library => "Discord.Net"; diff --git a/NadekoBot.Core/Services/NadekoBot.cs b/NadekoBot.Core/Services/NadekoBot.cs index 6e974535..0fc5d4f6 100644 --- a/NadekoBot.Core/Services/NadekoBot.cs +++ b/NadekoBot.Core/Services/NadekoBot.cs @@ -58,6 +58,7 @@ namespace NadekoBot public NadekoBot(int shardId, int parentProcessId) { + Console.WriteLine(typeof(DiscordSocketClient).Assembly.GetName().Version); if (shardId < 0) throw new ArgumentOutOfRangeException(nameof(shardId)); diff --git a/NuGet.Config b/NuGet.Config index b7e1e1e0..e27a9cbb 100644 --- a/NuGet.Config +++ b/NuGet.Config @@ -1,8 +1,8 @@  + - \ No newline at end of file