diff options
| author | Rapptz <[email protected]> | 2021-04-10 23:24:44 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2021-04-11 00:39:13 -0400 |
| commit | d85805ab6d7a077db303c2bf1670c4948455f3ab (patch) | |
| tree | 0b1fe33a616f5bd8e4a030d9633014223d5bd15b /discord/role.py | |
| parent | [commands] use __args__ and __origin__ where applicable (diff) | |
| download | discord.py-d85805ab6d7a077db303c2bf1670c4948455f3ab.tar.xz discord.py-d85805ab6d7a077db303c2bf1670c4948455f3ab.zip | |
First pass at supporting v8 API
Diffstat (limited to 'discord/role.py')
| -rw-r--r-- | discord/role.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/role.py b/discord/role.py index c1060ace..491fd075 100644 --- a/discord/role.py +++ b/discord/role.py @@ -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) |