From 746d0d13e54482110e5f09b974fa3248667b6098 Mon Sep 17 00:00:00 2001 From: Andrei Date: Wed, 1 May 2019 13:15:33 -0700 Subject: [PATCH] Add API Client support for kicking guild members --- disco/api/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/disco/api/client.py b/disco/api/client.py index 5649584..a319bd8 100644 --- a/disco/api/client.py +++ b/disco/api/client.py @@ -377,7 +377,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):