mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-10-22 00:13:01 +00:00
Allow unique invites for Client.create_invite.
This commit is contained in:
@@ -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
|
||||
-------
|
||||
|
Reference in New Issue
Block a user