diff --git a/commands/interaction/context/transcribe.js b/commands/interaction/context/transcribe.js index d1a6aed..cf47553 100644 --- a/commands/interaction/context/transcribe.js +++ b/commands/interaction/context/transcribe.js @@ -38,7 +38,7 @@ module.exports = { return editOrReply(context, { embeds: [createEmbed("default", context, { - description: codeblock("md", [ recog.response.body.transcription_with_speakers.substr(0,3900) ]), + description: codeblock("md", [ recog.response.body.transcription.substr(0,3900) ]), footer: { iconUrl: STATICS.google, text: `Google Cloud • Confidence: ${(recog.response.body.confidence* 100).toFixed(1)}% • ${context.application.name}` diff --git a/commands/message/google/transcribe.js b/commands/message/google/transcribe.js index f5e595c..13cc528 100644 --- a/commands/message/google/transcribe.js +++ b/commands/message/google/transcribe.js @@ -35,7 +35,7 @@ module.exports = { const recog = await transcribeWithSpeakerLabelsObelisk(context, msg.attachments.first().url) return editOrReply(context, createEmbed("default", context, { - description: codeblock("md", [ recog.response.body.transcription_with_speakers ]), + description: codeblock("md", [ recog.response.body.transcription ]), footer: { iconUrl: STATICS.google, text: `Google Cloud • Confidence: ${(recog.response.body.confidence* 100).toFixed(1)}% • ${context.application.name}`