mirror of
https://github.com/diamondburned/arikawa.git
synced 2025-01-05 19:57:02 +00:00
API: fix wrong typed Snowflake
This commit is contained in:
parent
1585797b52
commit
ba1fc650d1
|
@ -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"`
|
||||
|
|
Loading…
Reference in a new issue