SecondBot/Core/Commands/Notecard/notecardClear.cs
2021-02-14 17:47:49 +00:00

19 lines
619 B
C#

namespace BetterSecondBot.Commands.Notecard
{
class NotecardClear : CoreCommand_1arg
{
public override string[] ArgTypes { get { return new[] { "Text" }; } }
public override string[] ArgHints { get { return new[] { "Collection" }; } }
public override string Helpfile { get { return "Clears Collection [ARG 1]"; } }
public override bool CallFunction(string[] args)
{
if (base.CallFunction(args) == true)
{
bot.ClearNotecardStorage(args[0]);
return true;
}
return false;
}
}
}