Dep
2 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
3 additions and
1 deletions
-
discord/member.py
|
|
@ -561,7 +561,9 @@ class Member(discord.abc.Messageable, _UserTag): |
|
|
|
role = g.get_role(role_id) |
|
|
|
if role: |
|
|
|
result.append(role) |
|
|
|
result.append(g.default_role) |
|
|
|
default_role = g.default_role |
|
|
|
if default_role: |
|
|
|
result.append(default_role) |
|
|
|
result.sort() |
|
|
|
return result |
|
|
|
|
|
|
|