Member.roles array now has the default role as the first element.

This commit is contained in:
Rapptz
2015-11-28 19:26:25 -05:00
parent e10b6c767b
commit df3cb831a9
3 changed files with 6 additions and 4 deletions

View File

@@ -56,7 +56,8 @@ class Member(User):
is not currently in a voice channel.
.. attribute:: roles
An array of :class:`Role` that the member belongs to.
A list of :class:`Role` that the member belongs to. Note that the first element of this
list is always the default '@everyone' role.
.. attribute:: joined_at
A datetime object that specifies the date and time in UTC that the member joined the server for