We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2820e23 commit 698baa2Copy full SHA for 698baa2
packages/client-discord/src/voice.ts
@@ -576,9 +576,7 @@ export class VoiceManager extends EventEmitter {
576
const wavBuffer = await this.convertOpusToWav(inputBuffer);
577
console.log("Starting transcription...");
578
579
- let transcriptionText: string;
580
-
581
- transcriptionText = await this.runtime
+ const transcriptionText = await this.runtime
582
.getService<ITranscriptionService>(ServiceType.TRANSCRIPTION)
583
.transcribe(wavBuffer);
584
0 commit comments