aboutsummaryrefslogtreecommitdiff
path: root/discord/member.py
diff options
context:
space:
mode:
authorRapptz <[email protected]>2015-11-28 19:26:25 -0500
committerRapptz <[email protected]>2015-11-28 19:26:25 -0500
commitdf3cb831a9499f350abe98c13f4d2680221fa640 (patch)
treebf2ddc9eb9e00da83b2f369b332fe2873180f011 /discord/member.py
parentMove server parsing code from Client to Server. (diff)
downloaddiscord.py-df3cb831a9499f350abe98c13f4d2680221fa640.tar.xz
discord.py-df3cb831a9499f350abe98c13f4d2680221fa640.zip
Member.roles array now has the default role as the first element.
Diffstat (limited to 'discord/member.py')
-rw-r--r--discord/member.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/discord/member.py b/discord/member.py
index b8597e8e..2fadc664 100644
--- a/discord/member.py
+++ b/discord/member.py
@@ -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