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

@ -544,7 +544,8 @@ class HTTPClient:
payload = {
'max_age': options.get('max_age', 0),
'max_uses': options.get('max_uses', 0),
'temporary': options.get('temporary', False)
'temporary': options.get('temporary', False),
'unique': options.get('unique', True)
}
return self.request(r, json=payload)