I don't know how that changed
This commit is contained in:
parent
acc402297b
commit
6facd5794b
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue