chomens-bot-js/commands/end.js

14 lines
425 B
JavaScript

/* eslint-disable max-len */
module.exports = {
name: 'end',
alias: [],
description: 'Ends the bot\'s client',
usage: '<hash>',
trusted: 1,
execute: function(bot, username, usernameraw, sender, prefix, args, config, hash, ownerhash, selector) {
bot.end('end command');
},
discordExecute: function(bot, username, usernameraw, sender, prefix, args, channeldc, message) {
bot.end('end command');
},
};