Haha-Yes/commands/owner/ded.js

17 lines
521 B
JavaScript
Raw Permalink 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) {
2018-09-17 21:19:06 +02:00
await message.say('k bye thx\nhttps://i.redd.it/lw8hrvr0l4f11.jpg');
2018-09-07 19:07:10 +02:00
process.exit();
2018-09-09 21:02:12 +02:00
}}