Add command block execution command
This commit is contained in:
parent
f8b39037a1
commit
36ea00e07a
1 changed files with 10 additions and 0 deletions
10
plugins/commands/cb.js
Normal file
10
plugins/commands/cb.js
Normal 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
|
||||
}
|
Loading…
Reference in a new issue