mirror of
https://github.com/ChomeNS/chomens-bot-mc.git
synced 2024-12-18 11:22:21 -05:00
15 lines
438 B
JavaScript
15 lines
438 B
JavaScript
|
/* eslint-disable max-len */
|
||
|
module.exports = {
|
||
|
name: 'cb',
|
||
|
alias: ['cmd', 'commandblock', 'run'],
|
||
|
desription: 'Executes a command in the command core',
|
||
|
usage: '<command>',
|
||
|
trusted: 0,
|
||
|
execute: function(bot, username, usernameraw, sender, prefix, args) {
|
||
|
bot.core.run(args.join(' '));
|
||
|
},
|
||
|
discordExecute: function(bot, username, usernameraw, sender, prefix, args, channeldc) {
|
||
|
bot.core.run(args.join(' '));
|
||
|
},
|
||
|
};
|