From 3fa251114a01fe2871ddfb8444346d9f1ffcf991 Mon Sep 17 00:00:00 2001 From: Myned Date: Fri, 20 Oct 2017 16:25:40 -0400 Subject: [PATCH] Prefix command change to accommodate guild prefixes --- src/main/cogs/tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/cogs/tools.py b/src/main/cogs/tools.py index e383f1b..1657788 100644 --- a/src/main/cogs/tools.py +++ b/src/main/cogs/tools.py @@ -56,7 +56,7 @@ class Utils: @commands.command(aliases=['pre'], brief='List bot prefixes', description='Shows all used prefixes') @checks.del_ctx() async def prefix(self, ctx): - await ctx.send('**Prefix:** `{}`'.format(u.config['prefix'])) + await ctx.send('**Prefix:** `{}`'.format('` or `'.join(u.settings['prefixes'][ctx.guild.id] if ctx.guild.id in u.settings['prefixes'] else u.config['prefix']))) await ctx.message.add_reaction('\N{WHITE HEAVY CHECK MARK}') @commands.group(name=',send', aliases=[',s'], hidden=True)