diff --git a/src/helpers/channels/updateBotVoiceState.ts b/src/helpers/channels/updateBotVoiceState.ts index dc0afa305..412c3219f 100644 --- a/src/helpers/channels/updateBotVoiceState.ts +++ b/src/helpers/channels/updateBotVoiceState.ts @@ -28,8 +28,10 @@ export async function updateBotVoiceState( { channel_id: options.channelId, suppress: options.suppress, - request_to_speak_timestamp: bot.utils.hasProperty(options, "requestToSpeakTimestamp") ? options.requestToSpeakTimestamp : undefined, - user_id: bot.utils.hasProperty(options, "userId") ? options.userId : undefined + request_to_speak_timestamp: bot.utils.hasProperty(options, "requestToSpeakTimestamp") + ? options.requestToSpeakTimestamp + : undefined, + user_id: bot.utils.hasProperty(options, "userId") ? options.userId : undefined, } ); }