mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-19 03:17:04 -04:00
improve error message
This commit is contained in:
parent
e2227da8f4
commit
5517223eea
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ module.exports = {
|
|||
} catch (e) {
|
||||
console.log(e)
|
||||
if(e.response?.body?.status && e.response.body.status == 2) return editOrReply(context, createEmbed("warning", context, e.response.body.message))
|
||||
return editOrReply(context, createEmbed("error", context, `Unable to transcribe audio.`))
|
||||
return editOrReply(context, createEmbed("error", context, `Unable to transcribe audio (too long?).`))
|
||||
}
|
||||
},
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue