diff --git a/discord/soundboard.go b/discord/soundboard.go index 37f769d8..c8df7d90 100644 --- a/discord/soundboard.go +++ b/discord/soundboard.go @@ -1,8 +1,8 @@ package discord -type SoundboardEffectAnimationType int +type VoiceChannelEffectAnimationType int const ( - SoundboardEffectAnimationTypePremium SoundboardEffectAnimationType = iota - SoundboardEffectAnimationTypeBasic + VoiceChannelEffectAnimationTypePremium VoiceChannelEffectAnimationType = iota + VoiceChannelEffectAnimationTypeBasic ) diff --git a/gateway/gateway_events.go b/gateway/gateway_events.go index 4823ff26..a6972697 100644 --- a/gateway/gateway_events.go +++ b/gateway/gateway_events.go @@ -604,14 +604,14 @@ func (EventUserUpdate) messageData() {} func (EventUserUpdate) eventData() {} type EventVoiceChannelEffectSend struct { - ChannelID snowflake.ID `json:"channel_id"` - GuildID snowflake.ID `json:"guild_id"` - UserID snowflake.ID `json:"user_id"` - Emoji *discord.Emoji `json:"emoji"` - AnimationType *discord.SoundboardEffectAnimationType `json:"animation_type,omitempty"` - AnimationID *int `json:"animation_id,omitempty"` - SoundID *snowflake.ID `json:"sound_id,omitempty"` - SoundVolume *float64 `json:"sound_volume,omitempty"` + ChannelID snowflake.ID `json:"channel_id"` + GuildID snowflake.ID `json:"guild_id"` + UserID snowflake.ID `json:"user_id"` + Emoji *discord.Emoji `json:"emoji"` + AnimationType *discord.VoiceChannelEffectAnimationType `json:"animation_type,omitempty"` + AnimationID *int `json:"animation_id,omitempty"` + SoundID *snowflake.ID `json:"sound_id,omitempty"` + SoundVolume *float64 `json:"sound_volume,omitempty"` } func (EventVoiceChannelEffectSend) messageData() {}