From 6facd5794b1c29c03650296abdcfd5aa98bf71c3 Mon Sep 17 00:00:00 2001 From: Phxntxm Date: Sun, 6 Aug 2017 16:21:36 -0500 Subject: [PATCH] I don't know how that changed --- cogs/admin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cogs/admin.py b/cogs/admin.py index a618893..5634642 100644 --- a/cogs/admin.py +++ b/cogs/admin.py @@ -964,6 +964,7 @@ class Administration: # Then add their permissions in one field embed.add_field(name="Allowed permissions", value="\n".join(perms)) await ctx.send(embed=embed) + return server_perms = self.bot.db.load('server_settings', key=ctx.message.guild.id, pluck='permissions') or {} @@ -981,8 +982,7 @@ class Administration: if "is_owner" in func.__qualname__: await ctx.send("You need to own the bot to run this command") return - await ctx.send(member - "You are required to have `manage_guild` permissions to run `{}`".format(cmd.qualified_name)) + await ctx.send("You are required to have `manage_guild` permissions to run `{}`".format(cmd.qualified_name)) return # Perms will be an attribute if custom_perms is found no matter what, so no need to check this