Save data persistently using a DB connection rather than writing to disk
Closed this issue · 1 comments
evanw555 commented
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.
evanw555 commented
This has been resolved. Closing this, however the PG logic should be refactored so we can write tests