From ba1fc650d151f91fba08560d3f2b5edb88a21dbc Mon Sep 17 00:00:00 2001 From: mavolin <48887425+mavolin@users.noreply.github.com> Date: Thu, 30 Jul 2020 04:48:20 +0200 Subject: [PATCH] API: fix wrong typed Snowflake --- api/guild.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/api/guild.go b/api/guild.go index 0f58ed2..a5930bd 100644 --- a/api/guild.go +++ b/api/guild.go @@ -368,8 +368,9 @@ func (c *Client) Integrations(guildID discord.GuildID) ([]discord.Integration, e // // Requires the MANAGE_GUILD permission. // Fires a Guild Integrations Update Gateway event. -func (c *Client) AttachIntegration(guildID, - integrationID discord.IntegrationID, integrationType discord.Service) error { +func (c *Client) AttachIntegration( + guildID discord.GuildID, integrationID discord.IntegrationID, + integrationType discord.Service) error { var param struct { Type discord.Service `json:"type"`