diff --git a/commands/message/utils/ocrtr.js b/commands/message/utils/ocrtr.js index 65ff675..1c0fecc 100644 --- a/commands/message/utils/ocrtr.js +++ b/commands/message/utils/ocrtr.js @@ -24,6 +24,7 @@ module.exports = { context.triggerTyping(); if(!args.to) args.to = "en" + if(args.to.startsWith("-to")) args.to = args.to.replace("-to ", "") if(!isSupported(args.to)) return editOrReply(context, createEmbed("warning", context, "Invalid language (to).")) if(!isSupported(args.from)) return editOrReply(context, createEmbed("warning", context, "Invalid language (from)."))