mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-10 15:13:04 -04:00
fix default language for replies
This commit is contained in:
parent
959afad408
commit
42db233436
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ module.exports = {
|
|||
else if(msg.embeds?.length) for(const e of msg.embeds) if(e[1].description?.length) { content = e[1].description; break; }
|
||||
|
||||
// Translate using direct language input
|
||||
args.to = args.text;
|
||||
if(args.text) args.to = args.text;
|
||||
}
|
||||
|
||||
if(!content.length) return editOrReply(context, createEmbed("warning", context, "No text supplied."))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue