Skip to content

Commands

popcorn9499 edited this page Dec 18, 2018 · 2 revisions

Command Type List

FileRead

CommandDetails: "pathToFile"

HelpDetails: "This command will read from a file"

Help

CommandDetails: None

HelpDetails: "This is sorta obvious"

Message

CommandDetails: "Sends a message defined here"

HelpDetails: "Sends a predefined message"

Defining a command

A command is defined by the thing below Please make a (someName).json in .\config\command\

{
    "CommandType":"Command type as defined up above",
    "Command": "!blah", //what ever you want this to be without spaces
    "CommandDetails": "You Thought Wrong!!", //details on the command
    "RolesAllowed": ["Owner","Mod"], //roles allowed. as defined by what they are in the services you are using
    "HelpDetails": "Undefined" //help details that are customization
}

please remove the comments if copying and pasting to the comandFile.json file

comments are (// whatever behind this)

Clone this wiki locally