Haha-Yes/commands/owner/ded.js

17 lines
510 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) {
2018-09-15 14:08:51 +02:00
await message.say('https://i.redd.it/lw8hrvr0l4f11.jpg');
2018-09-07 19:07:10 +02:00
process.exit();
2018-09-09 21:02:12 +02:00
}}