Formatting

This commit is contained in:
Adriene Hutchins 2020-03-02 02:02:11 -05:00
parent 38829722d5
commit 3f90a2951c

View file

@ -37,7 +37,6 @@ class Bot(commands.Bot):
self.maintenance = self.config['MAINTENANCE']
self.description = self.config['DESCRIPTION']
self.case_insensitive = self.config['CASE_INSENSITIVE']
# Get Instances
with open('searxes.txt') as f:
@ -112,9 +111,11 @@ class Bot(commands.Bot):
else:
await self.process_commands(message)
# Creates Bot object
bot = Bot()
@bot.listen()
async def on_command_error(ctx, error):
"""Handles all errors stemming from ext.commands."""