Remove useless aliases, bug fixes

This commit is contained in:
Daniel Odendahl Jr
2018-11-03 18:21:19 +00:00
parent 01bc93b1ba
commit f9c37e7ea6
146 changed files with 206 additions and 312 deletions
+26
View File
@@ -0,0 +1,26 @@
const Command = require('../../structures/Command');
const { letterTrans } = require('custom-translate');
const dictionary = require('../../assets/json/tebahpla');
module.exports = class TebahplaCommand extends Command {
constructor(client) {
super(client, {
name: 'tebahpla',
aliases: ['reverse-alphabet', 'alphabet-reverse'],
group: 'text-edit',
memberName: 'tebahpla',
description: 'Reverses the alphabet of text.',
args: [
{
key: 'text',
prompt: 'What text would you like to reverse the alphabet of?',
type: 'string'
}
]
});
}
run(msg, { text }) {
return msg.say(letterTrans(text, dictionary));
}
};