aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorGravatar Volcyy <[email protected]>2018-05-22 19:12:01 +0200
committerGravatar Leon Sandøy <[email protected]>2018-05-22 19:12:01 +0200
commit1a2997fe353344eae6815031357856ac7b128b77 (patch)
treec7fe94c1570115ba34be7966c1da78175f742794 /scripts
parentFix typing issue (diff)
Configure constants with YAML file(s) (#57)
* Load various constants from `.yml` file. * Ignore user-provided `config.yml`. * Support environment variables in YAML configuration. * Use "class-based" configuration. * Configure logging properly. * Move the last few constants to YAML. * Fix recursive update accidentally overriding mappings. * Read bot token from YAML configuration. * Add documentation strings and `KeyError` handling. * Remove coding setting from constants module. * Add `help4` channel ID to `config-default.yml`. * Fix a few linting issues from merge. * s/Channels.help1/Channels.help0/g * s/Channels.help2/Channels.help1/g * s/Channels.help3/Channels.help2/g * s/Channels.help4/Channels.help3/g * Adress @JoeBanks13's review comments. * Put a block comment above dataclasses.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions