Added the ability to add the new role to members, after creating
This commit is contained in:
parent
d0f89a5862
commit
9b8c7ac8f8
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ class Roles:
|
|||
A prompt will follow asking what settings you would like for this new role
|
||||
I'll then ask if you'd like to set anyone to use this role"""
|
||||
# No use in running through everything if the bot cannot create the role
|
||||
if not ctx.message.server.me.permissions_in(channel).manage_roles:
|
||||
if not ctx.message.server.me.permissions_in(ctx.message.channel).manage_roles:
|
||||
await self.bot.say("I can't create roles in this server, do you not trust me? :c")
|
||||
return
|
||||
|
||||
|
|
Loading…
Reference in a new issue