feat(voice): журнал обработанных вебхуков LiveKit
This commit is contained in:
@@ -47,8 +47,7 @@ export interface VoiceModerationPatch {
|
||||
|
||||
/** Разобранное событие `VOICE_STATE_UPDATE`: состояние или уход из комнаты. */
|
||||
export type VoiceStateEvent =
|
||||
| { kind: 'state'; state: VoiceState }
|
||||
| { kind: 'left'; guildId: string; userId: string };
|
||||
{ kind: 'state'; state: VoiceState } | { kind: 'left'; guildId: string; userId: string };
|
||||
|
||||
export const guildVoiceStatesQueryKey = (guildId: string) =>
|
||||
['guilds', guildId, 'voice-states'] as const;
|
||||
|
||||
Reference in New Issue
Block a user