chomens-bot-js/commands/end.js

15 lines
425 B
JavaScript
Raw Normal View History

2022-08-18 19:42:14 -04:00
/* eslint-disable max-len */
2022-08-14 05:51:45 -04:00
module.exports = {
name: 'end',
alias: [],
description: 'Ends the bot\'s client',
usage: '<hash>',
trusted: 1,
2022-11-16 06:41:30 -05:00
execute: function(bot, username, usernameraw, sender, prefix, args, config, hash, ownerhash, selector) {
bot.end('end command');
2022-08-14 05:51:45 -04:00
},
2022-08-18 19:42:14 -04:00
discordExecute: function(bot, username, usernameraw, sender, prefix, args, channeldc, message) {
bot.end('end command');
2022-08-18 19:42:14 -04:00
},
2022-08-14 05:51:45 -04:00
};