diff options
| author | Rapptz <[email protected]> | 2017-01-21 16:23:14 -0500 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2017-01-21 16:23:14 -0500 |
| commit | 1ffb2ca7ac3c2b7da2ad9878f90c1f653f1df1c2 (patch) | |
| tree | 31bc1affe5eba1c0b111688b2c27f60176cd74cb /discord/client.py | |
| parent | Update copyright year to 2017. (diff) | |
| download | discord.py-1ffb2ca7ac3c2b7da2ad9878f90c1f653f1df1c2.tar.xz discord.py-1ffb2ca7ac3c2b7da2ad9878f90c1f653f1df1c2.zip | |
Allow unique invites for Client.create_invite.
Diffstat (limited to 'discord/client.py')
| -rw-r--r-- | discord/client.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/discord/client.py b/discord/client.py index 4962d1e4..25408b7f 100644 --- a/discord/client.py +++ b/discord/client.py @@ -896,8 +896,10 @@ class Client: temporary : bool Denotes that the invite grants temporary membership (i.e. they get kicked after they disconnect). Defaults to False. - xkcd : bool - Indicates if the invite URL is human readable. Defaults to False. + unique: bool + Indicates if a unique invite URL should be created. Defaults to True. + If this is set to False then it will return a previously created + invite. Raises ------- |