Skip to content

1. Configs

Michael (Parker) Parker edited this page Feb 15, 2020 · 2 revisions

develop only

parkertron supports yaml primarily but also supports json.

Examples

An example config will be generated when you start the bot with no config files.

For your convenience I have this example config here.

parkertron.yml

services: ## services to spin up bots for (discord, irc). Needs to be an array of strings
    - "discord"
log: # log configuration
    level: info #(info, debug)
    location: logs/ # log location
parsing: # global config for parsing the bot does.
    max: 5 ## max number of files to parse (bin/image/attachment)
    response: # an array of strings to send in response.
        - "There were too many logs to read @&user&. Please post 5 or less." 
    allow_ip: false ## allow parsing ip addresses (treu/false)
Clone this wiki locally