mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-21 05:54:33 +02:00
5 New Commands
This commit is contained in:
@@ -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'));
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user