diff options
| author | Rapptz <[email protected]> | 2015-11-07 18:08:50 -0500 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2015-11-07 18:08:50 -0500 |
| commit | 7a4fab55661e3252e77c21451fff22396702ff12 (patch) | |
| tree | 6567806a79d2c92c0e9e747869acd3778cb38476 | |
| parent | Fix Client.create_role (diff) | |
| download | discord.py-7a4fab55661e3252e77c21451fff22396702ff12.tar.xz discord.py-7a4fab55661e3252e77c21451fff22396702ff12.zip | |
Change iterable to an argument list in role related documentation.
| -rw-r--r-- | discord/client.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/discord/client.py b/discord/client.py index 6177da66..38f21571 100644 --- a/discord/client.py +++ b/discord/client.py @@ -1150,7 +1150,7 @@ class Client(object): This method **appends** a role to a member. :param member: The :class:`Member` to give roles to. - :param roles: An iterable of :class:`Role` s to give the member. + :param roles: An argument list of :class:`Role` s to give the member. """ url = '{0}/{1.server.id}/members/{1.id}'.format(endpoints.SERVERS, member) @@ -1170,7 +1170,7 @@ class Client(object): This function raises :exc:`HTTPException` if the request failed. :param member: The :class:`Member` to remove roles from. - :param roles: An iterable of :class:`Role` s to remove from the member. + :param roles: An argument list of :class:`Role` s to remove from the member. """ url = '{0}/{1.server.id}/members/{1.id}'.format(endpoints.SERVERS, member) @@ -1201,7 +1201,7 @@ class Client(object): This function raises :exc:`HTTPException` if the request failed. :param member: The :class:`Member` to replace roles for. - :param roles: An iterable of :class:`Role` s to replace with. + :param roles: An argument list of :class:`Role` s to replace with. """ url = '{0}/{1.server.id}/members/{1.id}'.format(endpoints.SERVERS, member) |