From 5b4b94352c71b6bbb6d0546742b3baeaa0ef5baf Mon Sep 17 00:00:00 2001 From: Madpeter Date: Wed, 14 Oct 2020 04:53:31 +0100 Subject: [PATCH] Issue 11 fix --- Core/Commands/Self/logout.cs | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/Core/Commands/Self/logout.cs b/Core/Commands/Self/logout.cs index 780bd2c..349b3c1 100644 --- a/Core/Commands/Self/logout.cs +++ b/Core/Commands/Self/logout.cs @@ -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; + } + } }