DLMousey / DLMousey/sarcasm-bot

Consolidate possibly redundant configuration

Open
#21 0 comments 0 reactions 0 assignees View on GitHub
enhancement good first issue
Dominant language
JavaScript
Stars
3
Forks
7
PR merge metrics
No merged PRs in 30d

Description

`auth.json.example` and `bot.config.json` were originally created with the intent of making tons of settings configurable via these files but that basically didn't happen - environment variables took precendece with the introduction of docker releases and they work arguably better in local dev than config files do.

Instead consolidate these down into a single `.env` file and install dotenv to manage it

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by comparing auth.json.example and bot.config.json, then trace how the bot currently reads environment variables and configuration. Consolidate the settings into one .env file and use dotenv for loading; done means the redundant configuration files are replaced without losing the existing settings.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
backend
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.