From 74f5cdaf90e605a31bbe6c2b67a62c192e32cb26 Mon Sep 17 00:00:00 2001 From: Madpeter Date: Fri, 15 May 2020 23:22:45 +0100 Subject: [PATCH] new command: Bye like Logout but without the kickass message --- Core/Commands/Self/logout.cs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Core/Commands/Self/logout.cs b/Core/Commands/Self/logout.cs index 7371092..780bd2c 100644 --- a/Core/Commands/Self/logout.cs +++ b/Core/Commands/Self/logout.cs @@ -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"; } }