forked from Supositware/Haha-Yes
rename to translate
This commit is contained in:
parent
3ddd8b8d25
commit
a99ad3b83d
1 changed files with 4 additions and 4 deletions
|
@ -2,10 +2,10 @@ const { Command } = require('discord-akairo');
|
||||||
const fetch = require('node-fetch');
|
const fetch = require('node-fetch');
|
||||||
const { yandexTRN, yandexDICT } = require('../../config.json');
|
const { yandexTRN, yandexDICT } = require('../../config.json');
|
||||||
|
|
||||||
class TranslationCommand extends Command {
|
class translateCommand extends Command {
|
||||||
constructor() {
|
constructor() {
|
||||||
super('translation', {
|
super('translate', {
|
||||||
aliases: ['translation', 'trn'],
|
aliases: ['translate', 'trn'],
|
||||||
category: 'utility',
|
category: 'utility',
|
||||||
clientPermissions: ['SEND_MESSAGES', 'EMBED_LINKS'],
|
clientPermissions: ['SEND_MESSAGES', 'EMBED_LINKS'],
|
||||||
args: [
|
args: [
|
||||||
|
@ -102,4 +102,4 @@ class TranslationCommand extends Command {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
module.exports = TranslationCommand;
|
module.exports = translateCommand;
|
Loading…
Reference in a new issue