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 { hash } = require('../../util/Util');
module.exports = class SHA256Command extends Command {
constructor(client) {
super(client, {
name: 'sha-256',
group: 'edit-text',
memberName: 'sha-256',
description: 'Creates a hash of text with the SHA-256 algorithm.',
args: [
{
key: 'text',
prompt: 'What text would you like to create an SHA-256 hash of?',
type: 'string'
}
]
});
}
run(msg, { text }) {
return msg.say(hash(text, 'sha256'));
}
};