chomens-bot-js/commands/end.js

13 lines
374 B
JavaScript

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