chomens-bot-js/commands/cb.js

14 lines
423 B
JavaScript
Raw Normal View History

2022-08-14 05:51:45 -04:00
module.exports = {
name: 'cb',
alias: ['cmd', 'commandblock', 'run'],
2022-11-08 06:28:11 -05:00
description: 'Executes a command in the command core',
2022-08-14 05:51:45 -04:00
usage: '<command>',
trusted: 0,
execute (bot, username, usernameraw, sender, prefix, args, config, hash, ownerhash, selector) {
2022-11-27 02:35:28 -05:00
bot.core.run(args.join(' '))
2022-08-14 05:51:45 -04:00
},
discordExecute (bot, username, usernameraw, sender, prefix, args, channeldc) {
2022-11-27 02:35:28 -05:00
bot.core.run(args.join(' '))
}
}