forked from Supositware/Haha-Yes
Fixed translate
This commit is contained in:
parent
e3082c228e
commit
4a51c3570d
1 changed files with 1 additions and 1 deletions
|
@ -8,6 +8,7 @@ class TranslationCommand extends Command {
|
||||||
super('translation', {
|
super('translation', {
|
||||||
aliases: ['translation', 'trn'],
|
aliases: ['translation', 'trn'],
|
||||||
category: 'utility',
|
category: 'utility',
|
||||||
|
split: 'sticky',
|
||||||
description: 'Translate the text you send into the lanuguage you selected',
|
description: 'Translate the text you send into the lanuguage you selected',
|
||||||
args: [
|
args: [
|
||||||
{
|
{
|
||||||
|
@ -29,7 +30,6 @@ class TranslationCommand extends Command {
|
||||||
}
|
}
|
||||||
|
|
||||||
async exec(message, args) {
|
async exec(message, args) {
|
||||||
console.log(args.language , args.text)
|
|
||||||
let language = args.language;
|
let language = args.language;
|
||||||
let text = args.text;
|
let text = args.text;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue