Issue 11 fix
This commit is contained in:
parent
04b3f23c47
commit
5b4b94352c
1 changed files with 12 additions and 1 deletions
|
|
@ -4,7 +4,7 @@ namespace BSB.Commands.Self
|
|||
{
|
||||
public class Bye : Logout
|
||||
{
|
||||
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, without saying anything"; } }
|
||||
public override bool CallFunction(string[] args)
|
||||
{
|
||||
bot.KillMePlease();
|
||||
|
|
@ -21,4 +21,15 @@ namespace BSB.Commands.Self
|
|||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
public class Logoff : CoreCommand
|
||||
{
|
||||
public override string Helpfile { get { return "Makes the bot kill itself you monster"; } }
|
||||
public override bool CallFunction(string[] args)
|
||||
{
|
||||
bot.GetClient.Self.Chat("Lates im out", 0, ChatType.Normal);
|
||||
bot.KillMePlease();
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue