evanw555/scape-bot

Save data persistently using a DB connection rather than writing to disk

Closed this issue · 1 comments

Writing to disk works so long as the bot is running locally. If this were to be hosted on some sort of remote virtual host, there's no guarantee that the file system will be persistent (it typically isn't).

We should use a PG client to write/read persistent data to make this more versatile.

This has been resolved. Closing this, however the PG logic should be refactored so we can write tests