Add required bot argument to get_prefixes

This commit is contained in:
Dustin Pianalto 2019-12-15 22:29:39 -09:00
parent a615d62afd
commit 44fc112941
2 changed files with 2 additions and 1 deletions

View File

@ -66,7 +66,7 @@ class Geeksbot(commands.Bot):
for load_item in self.bot_config['load_list']:
self.loop.create_task(self.load_ext(load_item))
async def get_prefixes(self, message):
async def get_prefixes(self, bot, message):
return self.default_prefix.casefold()
async def close(self):

View File

@ -0,0 +1 @@
from geeksbot.__main__ import Geeksbot