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

@ -13,10 +13,6 @@
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Discord.Net" Version="1.0.2" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="AngleSharp" Version="0.9.9" />
<PackageReference Include="Discord.Net" Version="2.0.0-alpha-build-00832" />

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

View File

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<add key="Discord.Net" value="https://www.myget.org/F/discord-net/api/v3/index.json" />
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
<add key="Kwoth-myget" value="https://www.myget.org/F/kwoth/api/v3/index.json" />
<add key="Discord.Net" value="https://www.myget.org/F/discord-net/api/v3/index.json" />
</packageSources>
</configuration>