reboot command
This commit is contained in:
parent
fd8f56ad1d
commit
a992a70948
1 changed files with 25 additions and 0 deletions
25
commands/owner/reboot.js
Normal file
25
commands/owner/reboot.js
Normal file
|
@ -0,0 +1,25 @@
|
|||
const { Command } = require('discord-akairo');
|
||||
|
||||
class RebootCommand extends Command {
|
||||
constructor() {
|
||||
super('reboot', {
|
||||
aliases: ['ded', 'reboot', 'restart'],
|
||||
split: 'none',
|
||||
category: 'owner',
|
||||
ownerOnly: 'true',
|
||||
description: {
|
||||
content: 'Restart the bot',
|
||||
usage: '[]',
|
||||
examples: ['']
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
async exec(message) {
|
||||
await message.say('k bye thx\nhttps://i.redd.it/lw8hrvr0l4f11.jpg');
|
||||
process.exit();
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = RebootCommand;
|
Loading…
Reference in a new issue