new command: Bye

like Logout but without the kickass message
This commit is contained in:
Madpeter 2020-05-15 23:22:45 +01:00
parent 1d08fbc68f
commit 74f5cdaf90

View file

@ -2,6 +2,15 @@
namespace BSB.Commands.Self namespace BSB.Commands.Self
{ {
public class Bye : Logout
{
public override string Helpfile { get { return "Makes the bot kill itself you monster"; } }
public override bool CallFunction(string[] args)
{
bot.KillMePlease();
return true;
}
}
public class Logout : CoreCommand public class Logout : CoreCommand
{ {
public override string Helpfile { get { return "Makes the bot kill itself you monster"; } } public override string Helpfile { get { return "Makes the bot kill itself you monster"; } }