mirror of
https://github.com/DarthKilroy/Spot.git
synced 2025-12-23 20:26:49 +00:00
Remove unused code, clean up folder tree
This commit is contained in:
parent
a4892d854b
commit
1e8c1261f5
14 changed files with 38 additions and 80 deletions
24
command/kill.js
Normal file
24
command/kill.js
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
const Logger = require('@lilywonhalf/pretty-logger');
|
||||
const Config = require('../config.json');
|
||||
const CommandCategory = require('../model/command-category');
|
||||
const CommandPermission = require('../model/command-permission');
|
||||
|
||||
class Kill
|
||||
{
|
||||
constructor() {
|
||||
this.aliases = [];
|
||||
this.category = CommandCategory.BOT_MANAGEMENT;
|
||||
this.isAllowedForContext = CommandPermission.isMemberMod;
|
||||
this.description = 'Kills the bot process';
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {Message} message
|
||||
*/
|
||||
async process(message) {
|
||||
await message.react('✔');
|
||||
Logger.notice('killbotpls');
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = new Kill();
|
||||
Loading…
Add table
Add a link
Reference in a new issue