diff --git a/services/discord-gateway/src/modules/command-handler/media.handler.ts b/services/discord-gateway/src/modules/command-handler/media.handler.ts index d56f239..d1249a2 100644 --- a/services/discord-gateway/src/modules/command-handler/media.handler.ts +++ b/services/discord-gateway/src/modules/command-handler/media.handler.ts @@ -107,11 +107,16 @@ export class MediaHandler { * disconnect/reconnect the @discordjs audio connection around a GoLive * stream (Discord allows only one voice session per user). */ - private voiceControllerAccessor: (() => { - disconnectGuild(guildId: string): Promise; - connect(guildId: string, channelId: string): Promise; - getStatus(): { activeGuildId: string | null; activeChannelId: string | null }; - }) | null = null; + private voiceControllerAccessor: + | (() => { + disconnectGuild(guildId: string): Promise; + connect(guildId: string, channelId: string): Promise; + getStatus(): { + activeGuildId: string | null; + activeChannelId: string | null; + }; + }) + | null = null; setVoiceController(accessor: typeof this.voiceControllerAccessor): void { this.voiceControllerAccessor = accessor; diff --git a/services/discord-gateway/src/modules/voice-recording/screenShareController.ts b/services/discord-gateway/src/modules/voice-recording/screenShareController.ts index 0eaf1ab..d8eab1b 100644 --- a/services/discord-gateway/src/modules/voice-recording/screenShareController.ts +++ b/services/discord-gateway/src/modules/voice-recording/screenShareController.ts @@ -87,9 +87,7 @@ export class ScreenShareController { setTimeout( () => reject( - new Error( - "Timed out joining voice channel for screen share", - ), + new Error("Timed out joining voice channel for screen share"), ), 15000, ),