diff --git a/NadekoBot.Core/Modules/Administration/DangerousCommands.cs b/NadekoBot.Core/Modules/Administration/DangerousCommands.cs
index f61a3525..c0889c0e 100644
--- a/NadekoBot.Core/Modules/Administration/DangerousCommands.cs
+++ b/NadekoBot.Core/Modules/Administration/DangerousCommands.cs
@@ -9,6 +9,7 @@ using System.Threading.Tasks;
#if !GLOBAL_NADEKO
namespace NadekoBot.Modules.Administration
{
+ //todo make users confirm their decision
public partial class Administration
{
[Group]
@@ -45,7 +46,9 @@ namespace NadekoBot.Modules.Administration
[NadekoCommand, Usage, Description, Aliases]
[OwnerOnly]
public Task DeleteWaifus() =>
- ExecSql("DELETE FROM WaifuUpdates; DELETE FROM WaifuInfo;");
+ ExecSql(@"DELETE FROM WaifuUpdates;
+DELETE FROM WaifuItem;
+DELETE FROM WaifuInfo;");
[NadekoCommand, Usage, Description, Aliases]
[OwnerOnly]
diff --git a/NadekoBot.Core/Modules/Administration/SelfAssignedRolesCommands.cs b/NadekoBot.Core/Modules/Administration/SelfAssignedRolesCommands.cs
index d867c236..9ab5d71f 100644
--- a/NadekoBot.Core/Modules/Administration/SelfAssignedRolesCommands.cs
+++ b/NadekoBot.Core/Modules/Administration/SelfAssignedRolesCommands.cs
@@ -1,6 +1,5 @@
using Discord;
using Discord.Commands;
-using Discord.WebSocket;
using NadekoBot.Extensions;
using NadekoBot.Core.Services;
using NadekoBot.Core.Services.Database.Models;
@@ -11,7 +10,6 @@ using System.Text;
using System.Threading.Tasks;
using NadekoBot.Common.Attributes;
using NadekoBot.Common.Collections;
-using Microsoft.EntityFrameworkCore;
namespace NadekoBot.Modules.Administration
{
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..a1528839 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.2";
public string Author => "Kwoth#2560";
public string Library => "Discord.Net";
diff --git a/NadekoBot.Core/_Extensions/IUserExtensions.cs b/NadekoBot.Core/_Extensions/IUserExtensions.cs
index 36a7f9e5..d00d9cb3 100644
--- a/NadekoBot.Core/_Extensions/IUserExtensions.cs
+++ b/NadekoBot.Core/_Extensions/IUserExtensions.cs
@@ -44,6 +44,6 @@ namespace NadekoBot.Extensions
public static string RealAvatarUrl(this DiscordUser usr) =>
usr.AvatarId.StartsWith("a_")
? $"{DiscordConfig.CDNUrl}avatars/{usr.UserId}/{usr.AvatarId}.gif"
- : ((IUser)usr).GetAvatarUrl(ImageFormat.Auto);
+ : $"{DiscordConfig.CDNUrl}avatars/{usr.UserId}/{usr.AvatarId}.png";
}
}
diff --git a/NuGet.Config b/NuGet.Config
index e482807c..e27a9cbb 100644
--- a/NuGet.Config
+++ b/NuGet.Config
@@ -1,7 +1,8 @@
-
-
+
+
+
-
+
\ No newline at end of file
diff --git a/src/NadekoBot/NuGet.Config b/src/NadekoBot/NuGet.Config
deleted file mode 100644
index b7e1e1e0..00000000
--- a/src/NadekoBot/NuGet.Config
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
-
-
-
-
\ No newline at end of file