mirror of
https://github.com/ChomeNS/chomens-bot-mc.git
synced 2024-11-23 15:47:57 -05:00
14 lines
452 B
JavaScript
14 lines
452 B
JavaScript
/* eslint-disable max-len */
|
|
module.exports = {
|
|
name: 'cb',
|
|
alias: ['cmd', 'commandblock', 'run'],
|
|
description: 'Executes a command in the command core',
|
|
usage: '<command>',
|
|
trusted: 0,
|
|
execute (bot, username, usernameraw, sender, prefix, args, config, hash, ownerhash, selector) {
|
|
bot.core.run(args.join(' '))
|
|
},
|
|
discordExecute (bot, username, usernameraw, sender, prefix, args, channeldc) {
|
|
bot.core.run(args.join(' '))
|
|
}
|
|
}
|