new command: Bye
like Logout but without the kickass message
This commit is contained in:
parent
1d08fbc68f
commit
74f5cdaf90
1 changed files with 9 additions and 0 deletions
|
|
@ -2,6 +2,15 @@
|
|||
|
||||
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 override string Helpfile { get { return "Makes the bot kill itself you monster"; } }
|
||||
|
|
|
|||
Loading…
Reference in a new issue