Fixed .deletewaifus

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

View File

@ -46,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]

View File

@ -21,7 +21,7 @@ namespace NadekoBot.Core.Services.Impl
private readonly IBotCredentials _creds;
private readonly DateTime _started;
public const string BotVersion = "2.0.1";
public const string BotVersion = "2.0.2";
public string Author => "Kwoth#2560";
public string Library => "Discord.Net";

View File

@ -58,7 +58,6 @@ namespace NadekoBot
public NadekoBot(int shardId, int parentProcessId)
{
Console.WriteLine(typeof(DiscordSocketClient).Assembly.GetName().Version);
if (shardId < 0)
throw new ArgumentOutOfRangeException(nameof(shardId));