Files
PointsBot/docs/TODO.md
2020-02-08 10:10:54 -08:00

3.0 KiB

TODO

Current

General

File-Specific

bot.py

  • Allow mods and/or bot owner to add or remove points from specific users
  • Make the algorithm for determining the problem solver more sophisticated
    • e.g. check entire comment tree instead of just ignoring if the OP also authored the parent comment
    • Ask OP for clarification only if solver cannot be sufficiently determined
    • Again, this behavior could also perhaps be better enforced through subreddit rules rather than algorithmically

config.py

  • Switch from toml package to tomlkit package
    • Preserves style, comments, etc.

database.py

  • Store date for each "!solved" comment
    • This basically means storing a link to each "![Ss]olved" comment, and perhaps a link to the submission, although that can be derived as long as the comment doesn't get deleted
  • Possibly refactor for a datastore type thing instead of database
    • Maybe even make models like Redditor to combine data storage/access with logic, e.g. determining current level