mirror of
https://github.com/ChomeNS/chomens-bot-mc.git
synced 2024-11-30 02:55:44 -05:00
14 lines
474 B
JavaScript
14 lines
474 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: function(bot, username, usernameraw, sender, prefix, args, config, hash, ownerhash, selector) {
|
|
bot.core.run(args.join(' '));
|
|
},
|
|
discordExecute: function(bot, username, usernameraw, sender, prefix, args, channeldc) {
|
|
bot.core.run(args.join(' '));
|
|
},
|
|
};
|