File tree Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -31,10 +31,9 @@ class VoiceChannelEffect {
3131 */
3232 this . emoji = data . emoji ? new Emoji ( guild . client , data . emoji ) : null ;
3333
34- // TODO: Revise after discord-api-types.
3534 /**
3635 * The animation type of the effect.
37- * @type {?number }
36+ * @type {?VoiceChannelEffectSendAnimationType }
3837 */
3938 this . animationType = data . animation_type ?? null ;
4039
Original file line number Diff line number Diff line change 589589 * @see {@link https://discord-api-types.dev/api/discord-api-types-v10/enum/VideoQualityMode }
590590 */
591591
592+ /**
593+ * @external VoiceChannelEffectSendAnimationType
594+ * @see {@link https://discord-api-types.dev/api/discord-api-types-v10/enum/VoiceChannelEffectSendAnimationType }
595+ */
596+
592597/**
593598 * @external WebhookType
594599 * @see {@link https://discord-api-types.dev/api/discord-api-types-v10/enum/WebhookType }
Original file line number Diff line number Diff line change @@ -166,6 +166,7 @@ import {
166166 GuildScheduledEventRecurrenceRuleFrequency ,
167167 GatewaySendPayload ,
168168 GatewayDispatchPayload ,
169+ VoiceChannelEffectSendAnimationType ,
169170} from 'discord-api-types/v10' ;
170171import { ChildProcess } from 'node:child_process' ;
171172import { EventEmitter } from 'node:events' ;
@@ -3562,8 +3563,7 @@ export class VoiceChannelEffect {
35623563 public channelId : Snowflake ;
35633564 public userId : Snowflake ;
35643565 public emoji : Emoji | null ;
3565- // TODO: Revise after discord-api-types.
3566- public animationType : 0 | 1 | null ;
3566+ public animationType : VoiceChannelEffectSendAnimationType | null ;
35673567 public animationId : number | null ;
35683568 public soundId : Snowflake | number | null ;
35693569 public soundVolume : number | null ;
You can’t perform that action at this time.
0 commit comments