From a99ad3b83d7a80c07f98c6aa0b4bc90caf5dcf01 Mon Sep 17 00:00:00 2001 From: loicbersier Date: Thu, 19 Mar 2020 16:32:09 +0100 Subject: [PATCH] rename to translate --- commands/utility/translate.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/commands/utility/translate.js b/commands/utility/translate.js index d6b94bd9..86f632da 100644 --- a/commands/utility/translate.js +++ b/commands/utility/translate.js @@ -2,10 +2,10 @@ const { Command } = require('discord-akairo'); const fetch = require('node-fetch'); const { yandexTRN, yandexDICT } = require('../../config.json'); -class TranslationCommand extends Command { +class translateCommand extends Command { constructor() { - super('translation', { - aliases: ['translation', 'trn'], + super('translate', { + aliases: ['translate', 'trn'], category: 'utility', clientPermissions: ['SEND_MESSAGES', 'EMBED_LINKS'], args: [ @@ -102,4 +102,4 @@ class TranslationCommand extends Command { } } -module.exports = TranslationCommand; \ No newline at end of file +module.exports = translateCommand; \ No newline at end of file