mirror of
https://github.com/diamondburned/arikawa.git
synced 2025-01-07 12:38:05 +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.
|
// Requires the MANAGE_GUILD permission.
|
||||||
// Fires a Guild Integrations Update Gateway event.
|
// Fires a Guild Integrations Update Gateway event.
|
||||||
func (c *Client) AttachIntegration(guildID,
|
func (c *Client) AttachIntegration(
|
||||||
integrationID discord.IntegrationID, integrationType discord.Service) error {
|
guildID discord.GuildID, integrationID discord.IntegrationID,
|
||||||
|
integrationType discord.Service) error {
|
||||||
|
|
||||||
var param struct {
|
var param struct {
|
||||||
Type discord.Service `json:"type"`
|
Type discord.Service `json:"type"`
|
||||||
|
|
Loading…
Reference in a new issue