Browse Source

Add API Client support for kicking guild members

pull/137/head
Andrei 6 years ago
parent
commit
ac04f999cb
No known key found for this signature in database GPG Key ID: 4D2A02C7D500E9D9
  1. 2
      disco/api/client.py

2
disco/api/client.py

@ -348,7 +348,7 @@ class APIClient(LoggingClass):
self.http(
Routes.GUILDS_MEMBERS_MODIFY,
dict(guild=guild, member=member),
json=optional(**kwargs),
json=kwargs,
headers=_reason_header(reason))
def guilds_members_roles_add(self, guild, member, role, reason=None):

Loading…
Cancel
Save