report request content to basecamp

This commit is contained in:
derpystuff 2024-03-24 11:33:46 +01:00
parent a3ae9d819c
commit a2f195f983
5 changed files with 7 additions and 7 deletions

View file

@ -38,7 +38,7 @@ module.exports = {
return editOrReply(context, {
embeds: [createEmbed("default", context, {
description: codeblock("md", [ recog.response.body.transcription_with_speakers ]),
description: codeblock("md", [ recog.response.body.transcription_with_speakers.substr(0,3900) ]),
footer: {
iconUrl: STATICS.google,
text: `Google Cloud • Confidence: ${(recog.response.body.confidence* 100).toFixed(1)}% • ${context.application.name}`