From b4f4e1cfc20859be0a834e6627abbc9f4f2b0d7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Celderlabs=E2=80=9D?= Date: Sun, 29 Dec 2019 03:19:31 -0500 Subject: [PATCH] Add missing self.client to guilds_integrations_create() --- 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 45367ff..6bce822 100644 --- a/disco/api/client.py +++ b/disco/api/client.py @@ -516,7 +516,7 @@ class APIClient(LoggingClass): def guilds_integrations_create(self, guild, type, id): r = self.http(Routes.GUILDS_INTEGRATIONS_CREATE, dict(guild=guild), json={"type": type, "id": id}) - return Integration.create(r.json()) + return Integration.create(self.client, r.json()) def guilds_integrations_modify( self,