1
0
Fork 0
mirror of synced 2024-05-18 19:42:28 +12:00

I don't know how that changed

This commit is contained in:
Phxntxm 2017-08-06 16:21:36 -05:00
parent acc402297b
commit 6facd5794b

View file

@ -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