24 lines
1 KiB
JavaScript
24 lines
1 KiB
JavaScript
|
module.exports={
|
||
|
execute: (c)=>{
|
||
|
//Blank template
|
||
|
/*
|
||
|
c.send(text, user?): Send text to all ("/tellraw @a")
|
||
|
c.reply(text): Send text to command sender
|
||
|
c.uuid: Unique identifier (UUID for Minecraft, Discord ID for Discord)
|
||
|
c.username: Username of sender
|
||
|
c.nickname: Nickname of sender when applicable
|
||
|
c.command: Command string
|
||
|
c.args: Arguments of command (above without the first section, and split at every space)
|
||
|
c.prefix: Prefix being used to send the command (when applicable)
|
||
|
c.bot: Bot that received the command. Will be different type based on where it was received
|
||
|
c.type: Type of bot receiving the command ("minecraft", "console", "discord")
|
||
|
*/
|
||
|
if(c.args[0].startsWith("/")) return;
|
||
|
c.bot.chat(c.args.join(" "))
|
||
|
},
|
||
|
desc: "Sends a message to chat", // Command description
|
||
|
usage: ' <message>', // Command usage
|
||
|
hidden: true,
|
||
|
consoleIndex: true //To show the command on the help command list, remove this line
|
||
|
}
|