fight-fixes
bobloy 7 years ago
parent e98c7b1694
commit b69fd3b1cf

@ -151,7 +151,7 @@ class CCRole:
async def ccrole_list(self, ctx): async def ccrole_list(self, ctx):
"""Shows custom commands list""" """Shows custom commands list"""
guild = ctx.guild guild = ctx.guild
commands = await self.config.guild(ctx.guild).cmdlist commands = await self.config.guild(ctx.guild).cmdlist()
if not commands: if not commands:
await ctx.send("There are no custom commands in this server. Use `{}ccrole add` to start adding some.".format(ctx.prefix)) await ctx.send("There are no custom commands in this server. Use `{}ccrole add` to start adding some.".format(ctx.prefix))

Loading…
Cancel
Save