mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-05 17:36:15 +00:00
First pass at supporting v8 API
This commit is contained in:
@ -210,7 +210,7 @@ class Role(Hashable):
|
||||
|
||||
def _update(self, data):
|
||||
self.name = data['name']
|
||||
self._permissions = int(data.get('permissions_new', 0))
|
||||
self._permissions = int(data.get('permissions', 0))
|
||||
self.position = data.get('position', 0)
|
||||
self._colour = data.get('color', 0)
|
||||
self.hoist = data.get('hoist', False)
|
||||
|
Reference in New Issue
Block a user