yellowtides / owenbot-hs

A utility bot written in Haskell for the Edinburgh Informatics Class of ‘24’s main messaging platform (Discord server).
https://yellowtid.es/owenbot-hs/
BSD 3-Clause "New" or "Revised" License
8 stars 7 forks source link

Incorrect instructions for Running Locally in ReadMe.md #24

Open social-anthrax opened 3 years ago

social-anthrax commented 3 years ago

The current ReadMe.md guide for locally running OwenBot says to use

Place a text file called .token.txt containing your bot's Discord token in the root directory of this repo.

This is incorrect as the bot now reads the token from ~/.config/owen/token.txt, as well as other configuration files.

jacobjwalters commented 3 years ago

Fixed temporarily. Can we leave the issue open though, as this is likely to change with the upcoming config system changes

social-anthrax commented 3 years ago

This could be added as a feature with a module that automatically makes the necessary config files in ~/.config/owen/ if they don't exist

jacobjwalters commented 3 years ago

With the config rewrite, that should happen automatically (most "config" stuff will exist in one file, and databases for e.g. HoF will be generated if they don't exist at startup)