You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Haha-Yes/commands/owner/ded.js

17 lines
521 B
JavaScript

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,
});
}
async run(message) {
await message.say('k bye thx\nhttps://i.redd.it/lw8hrvr0l4f11.jpg');
process.exit();
}}