From 1ffb2ca7ac3c2b7da2ad9878f90c1f653f1df1c2 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Sat, 21 Jan 2017 16:23:14 -0500 Subject: Allow unique invites for Client.create_invite. --- discord/client.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'discord/client.py') 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 ------- -- cgit v1.2.3