Issue 11 fix

This commit is contained in:
Madpeter 2020-10-14 04:53:31 +01:00
parent 04b3f23c47
commit 5b4b94352c

View file

@ -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;
}
}
}