This repository has been archived by the owner on Jul 8, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Config
Nitrous edited this page Nov 28, 2017
·
2 revisions
The configuration file is not currently included in the repository but can be generated when first running a bot's instance. It is a JSON Object where you can define a bot's behavior and required input. Listed below are the required:
{
"token": "",
"owner": [""],
"peaceful": false,
"prefix": "]",
"reply": {
"EVENT": "Message"
}
};
-
token
- A string that requires your bot's token. -
owner
- A string array that requires your client id. -
peaceful
- A boolean to tell how aggressive the bot will deal with commands. -
prefix
- A string used to know a command is issued. -
reply
- A string used to send a message when a situation occurs.-
EVENT
- A situation. -
Message
- The message that the bot sends to a channel.
-