Install all dependencies:
$ npm install
Before you try to start the bot, you need to complete the config.json file in the main folder.
{
"token": "",
"prefix": "gen!",
"genChannel": "",
"genCooldown": "1000",
"color": {
"green": "0x57F287",
"yellow": "0xFEE75C",
"red": "0xED4245",
"default": "0x5865F2"
},
"command": {
"notfound_message": true,
"error_message": true
}
}token: Your discord bot's tokenprefix: Your bot's command prefix (for example: !help | ?help | gen!help)genChannel: Forced channel forgencommandgenCooldown: Cooldown between two executions ofgencommand (use milliseconds)notfound_message: Sends a message to the channel if the message starts with the prefix but does not existserror_message: Sends a message to the channel if an error occured and this setting is "true"
You can change the green, yellow, red and default colors to another hex colors.
Add an account or a data with the add command. The space character in the data parameter make the write wrong.
- Example:
add example_service abcd - Wrong example:
add example_service abcd<-- the last 2 arguments are not storedefg hijk
You can add account to the bot using gen command.
- Example:
gen example_service
Create a service with create command.
- Example:
create example_service
Check the stock folder's content.
- Example:
stock
List bot commands.
- Example:
help