Made the bot more sassy

doc_update
Joey Hines 2018-05-25 17:00:43 -05:00
parent 3b898bc8d9
commit 7fc9b937ad
1 changed files with 4 additions and 1 deletions

View File

@ -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. 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) engine = create_engine('sqlite:///:memory:', echo=True)
SQL_Base = declarative_base() SQL_Base = declarative_base()
@ -126,7 +129,7 @@ async def on_command_error(error, ctx):
elif isinstance(error, commands.UserInputError): elif isinstance(error, commands.UserInputError):
error_str = 'Invalid syntax for {}, please read ?help {}.'.format(ctx.invoked_with, ctx.invoked_with) error_str = 'Invalid syntax for {}, please read ?help {}.'.format(ctx.invoked_with, ctx.invoked_with)
else: 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) await bot.send_message(ctx.message.channel, error_str)