Fixed method not found errors

This commit is contained in:
Master Kwoth
2017-10-21 20:59:07 +02:00
parent e23d4902c4
commit 5b227bccb6
4 changed files with 3 additions and 8 deletions

View File

@ -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";

View File

@ -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));