mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-09 22:53:06 -04:00
fixes errors with ctx commands
This commit is contained in:
parent
11d20a8334
commit
d5d5f01cdc
4 changed files with 21 additions and 26 deletions
|
@ -62,10 +62,7 @@ module.exports = {
|
|||
}
|
||||
}catch(e){
|
||||
console.log(e)
|
||||
await context.editOrRespond({
|
||||
embeds: [createEmbed("error", context, "Unable to perform Optical Character Recognition.")],
|
||||
flags: MessageFlags.EPHEMERAL
|
||||
})
|
||||
await editOrReply(context, createEmbed("error", context, "Unable to perform Optical Character Recognition."))
|
||||
}
|
||||
},
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue