From 7fc9b937ad8e6d9c7bc5523b244ce7c900aad04a Mon Sep 17 00:00:00 2001 From: Joey Hines Date: Fri, 25 May 2018 17:00:43 -0500 Subject: [PATCH] Made the bot more sassy --- MCInfoBot.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/MCInfoBot.py b/MCInfoBot.py index cffa280..2c64c31 100644 --- a/MCInfoBot.py +++ b/MCInfoBot.py @@ -15,6 +15,9 @@ At some point, she was to become an airhorn bot. Now, they know where your bases Please respect Geoffrey, the bot is very sensitive. ''' +bad_error_message = 'OOPSIE WOOPSIE!! Uwu We made a fucky wucky!! A wittle fucko boingo! The admins at our ' \ + 'headquarters are working VEWY HAWD to fix this! (Error running {})' + engine = create_engine('sqlite:///:memory:', echo=True) SQL_Base = declarative_base() @@ -126,7 +129,7 @@ async def on_command_error(error, ctx): elif isinstance(error, commands.UserInputError): error_str = 'Invalid syntax for {}, please read ?help {}.'.format(ctx.invoked_with, ctx.invoked_with) else: - error_str = 'Error using the {} command, yell at the admins to fix it'.format(ctx.invoked_with) + error_str = bad_error_message.format(ctx.invoked_with) await bot.send_message(ctx.message.channel, error_str)