Skip to content

Commit

Permalink
SoundboardEffectAnimationType -> VoiceChannelEffectAnimationType
Browse files Browse the repository at this point in the history
  • Loading branch information
sebm253 committed Aug 16, 2024
1 parent d2253dd commit ae06f00
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions discord/soundboard.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package discord

type SoundboardEffectAnimationType int
type VoiceChannelEffectAnimationType int

const (
SoundboardEffectAnimationTypePremium SoundboardEffectAnimationType = iota
SoundboardEffectAnimationTypeBasic
VoiceChannelEffectAnimationTypePremium VoiceChannelEffectAnimationType = iota
VoiceChannelEffectAnimationTypeBasic
)
16 changes: 8 additions & 8 deletions gateway/gateway_events.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {}
Expand Down

0 comments on commit ae06f00

Please sign in to comment.