Allow unique invites for Client.create_invite.

This commit is contained in:
Rapptz
2017-01-21 16:23:14 -05:00
parent ff9f5749e1
commit 1ffb2ca7ac
2 changed files with 6 additions and 3 deletions

View File

@@ -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
-------