Fix syntax errors

add-license-1
DustyP 8 years ago
parent 2da878f3d6
commit 65b3bb39e3

@ -70,13 +70,11 @@ class Geeksbot(commands.Bot):
return self.con.one('select prefix from guild_config where guild_id = %(id)s', {'id': message.guild.id})\
or self.default_prefix
@staticmethod
async def load_ext(self, ctx, mod=None):
self.load_extension('{0}.{1}'.format(extension_dir, mod))
if ctx is not None:
await ctx.send('{0} loaded.'.format(mod))
@staticmethod
async def unload_ext(self, ctx, mod=None):
self.unload_extension('{0}.{1}'.format(extension_dir, mod))
if ctx is not None:

Loading…
Cancel
Save