mirror of
https://github.com/ChomeNS/chomens-bot-mc.git
synced 2024-11-23 15:47:57 -05:00
14 lines
438 B
JavaScript
14 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(' '));
|
|
},
|
|
};
|