Skip to content

Commit

Permalink
transcribe: add promotion
Browse files Browse the repository at this point in the history
  • Loading branch information
sdip15fa committed Apr 15, 2024
1 parent 83bd720 commit 26bcc23
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion commands/transcribe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,14 @@ const execute = async (client: Client, msg: Message) => {
},
).then((res) => res.json())) as { text: string };

await client.sendMessage(chatId, `*Transcription*\n\n` + result.text || "");
await client.sendMessage(
chatId,
`*Transcription*\n\n` + result.text ||
"" +
`
Note: this does not work with audios >30s. You may want to use my android app: https://l.wcyat.me/gQAKgl`,
);
} else {
await client.sendMessage(chatId, `🙇‍♂️ *Error*\n\n` + "```No media found```");
}
Expand Down

0 comments on commit 26bcc23

Please sign in to comment.