Haha-Yes/commands/owner/ded.js

17 lines
495 B
JavaScript
Raw Normal View History

2018-09-07 19:07:10 +02:00
const { Command } = require('discord.js-commando');
module.exports = class DedCommand extends Command {
constructor(client) {
super(client, {
name: 'ded',
aliases: ['shutdown', 'dead', 'restart', 'reboot'],
group: 'owner',
memberName: 'ded',
description: 'Reboot the bot',
ownerOnly: true,
});
}
2018-09-09 21:20:36 +02:00
async run(message) {
await message.say("im dead now k bye thx);
2018-09-07 19:07:10 +02:00
process.exit();
2018-09-09 21:02:12 +02:00
}}