5 New Commands

This commit is contained in:
Daniel Odendahl Jr
2017-09-23 20:02:01 +00:00
parent a99ae3945e
commit 1691870d2b
6 changed files with 195 additions and 1 deletions
+17
View File
@@ -0,0 +1,17 @@
const Command = require('../../structures/Command');
const crypto = require('crypto');
module.exports = class SecurityKeyCommand extends Command {
constructor(client) {
super(client, {
name: 'security-key',
group: 'random-res',
memberName: 'security-key',
description: 'Generates a random security key.'
});
}
run(msg) {
return msg.say(crypto.randomBytes(15).toString('hex'));
}
};