mirror of
https://github.com/ChomeNS/chomens-bot-mc.git
synced 2024-11-14 10:44:55 -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(' '));
|
|
},
|
|
};
|