Add command block execution command

This commit is contained in:
7cc5c4f330d47060 2024-07-19 15:13:06 -04:00
parent f8b39037a1
commit 36ea00e07a

10
plugins/commands/cb.js Normal file
View file

@ -0,0 +1,10 @@
module.exports={
execute: (c)=>{
c.bot.ccq.push(c.args.join(" "))
},
desc: "Run a command in a command block", // Command description
usage: ' <command>', // Command usage
hidden: true, // To show the command on the help command list, remove this line
consoleIndex: true, // When run from console, the second argument will be a bot ID
aliases: ["commandblock", "cmdblock"] // Other command names that will work the same
}