1
0
Fork 0
mirror of synced 2024-09-28 07:21:16 +12:00

Added the ability to add the new role to members, after creating

This commit is contained in:
Phxntxm 2016-07-31 12:05:00 -05:00
parent 08496c3b38
commit d0f89a5862

View file

@ -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 server.me.permissions_in(channel).manage_roles:
if not ctx.message.server.me.permissions_in(channel).manage_roles:
await self.bot.say("I can't create roles in this server, do you not trust me? :c")
return