mirror of
https://github.com/polyjitter/searchbot-discord.git
synced 2024-08-14 22:46:55 +00:00
Formatting
This commit is contained in:
parent
38829722d5
commit
3f90a2951c
1 changed files with 2 additions and 1 deletions
3
main.py
3
main.py
|
@ -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."""
|
||||
|
|
Loading…
Reference in a new issue