Fixed .deletewaifus
This commit is contained in:
parent
5b227bccb6
commit
a9b10a4d2b
@ -46,7 +46,9 @@ namespace NadekoBot.Modules.Administration
|
|||||||
[NadekoCommand, Usage, Description, Aliases]
|
[NadekoCommand, Usage, Description, Aliases]
|
||||||
[OwnerOnly]
|
[OwnerOnly]
|
||||||
public Task DeleteWaifus() =>
|
public Task DeleteWaifus() =>
|
||||||
ExecSql("DELETE FROM WaifuUpdates; DELETE FROM WaifuInfo;");
|
ExecSql(@"DELETE FROM WaifuUpdates;
|
||||||
|
DELETE FROM WaifuItem;
|
||||||
|
DELETE FROM WaifuInfo;");
|
||||||
|
|
||||||
[NadekoCommand, Usage, Description, Aliases]
|
[NadekoCommand, Usage, Description, Aliases]
|
||||||
[OwnerOnly]
|
[OwnerOnly]
|
||||||
|
@ -21,7 +21,7 @@ namespace NadekoBot.Core.Services.Impl
|
|||||||
private readonly IBotCredentials _creds;
|
private readonly IBotCredentials _creds;
|
||||||
private readonly DateTime _started;
|
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 Author => "Kwoth#2560";
|
||||||
public string Library => "Discord.Net";
|
public string Library => "Discord.Net";
|
||||||
|
@ -58,7 +58,6 @@ namespace NadekoBot
|
|||||||
|
|
||||||
public NadekoBot(int shardId, int parentProcessId)
|
public NadekoBot(int shardId, int parentProcessId)
|
||||||
{
|
{
|
||||||
Console.WriteLine(typeof(DiscordSocketClient).Assembly.GetName().Version);
|
|
||||||
if (shardId < 0)
|
if (shardId < 0)
|
||||||
throw new ArgumentOutOfRangeException(nameof(shardId));
|
throw new ArgumentOutOfRangeException(nameof(shardId));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user