API: fix wrong typed Snowflake

This commit is contained in:
mavolin 2020-07-30 04:48:20 +02:00 committed by diamondburned
parent 1585797b52
commit ba1fc650d1
1 changed files with 3 additions and 2 deletions

View File

@ -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"`