More uniform group names

This commit is contained in:
Dragon Fire
2020-04-09 14:37:24 -04:00
parent 35970740e3
commit 2bf570f3d2
139 changed files with 154 additions and 154 deletions
+24
View File
@@ -0,0 +1,24 @@
const Command = require('../../structures/Command');
const { shuffle } = require('../../util/Util');
module.exports = class ShuffleCommand extends Command {
constructor(client) {
super(client, {
name: 'shuffle',
group: 'edit-text',
memberName: 'shuffle',
description: 'Shuffles text.',
args: [
{
key: 'text',
prompt: 'What text would you like to shuffle?',
type: 'string'
}
]
});
}
run(msg, { text }) {
return msg.say(shuffle(text.split('')).join(''));
}
};