Browse Source

Fix NameError in Role.edit

pull/476/merge
Rapptz 8 years ago
parent
commit
96a43fa9e3
  1. 2
      discord/role.py

2
discord/role.py

@ -187,7 +187,7 @@ class Role(Hashable):
roles.append(self.id)
payload = [{"id": z[0], "position": z[1]} for z in zip(roles, change_range)]
yield from http.move_role_position(role.guild.id, payload)
yield from http.move_role_position(self.guild.id, payload)
@asyncio.coroutine
def edit(self, **fields):

Loading…
Cancel
Save