From f597d11852c63ff92c7e40bd26cb59378ab84d0e Mon Sep 17 00:00:00 2001 From: mavolin <48887425+mavolin@users.noreply.github.com> Date: Mon, 11 May 2020 20:32:28 +0200 Subject: [PATCH] API: fix #39 --- api/guild.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/api/guild.go b/api/guild.go index 0d67394..fd6902c 100644 --- a/api/guild.go +++ b/api/guild.go @@ -226,6 +226,9 @@ func (c *Client) AttachIntegration( ID discord.Snowflake `json:"id"` } + param.Type = integrationType + param.ID = integrationID + return c.FastRequest( "POST", EndpointGuilds+guildID.String()+"/integrations",