Files
PointsBot/docs/TODO.md
Collin Rapp 176f3f6f0e Updated docs
2020-03-06 16:25:06 -08:00

3.5 KiB

TODO

File-specific lists are in loose descending order of priority.

Current

n/a

General

File-Specific

bot.py

  • Now that the date of each solution is being stored, can check for missed submissions each time the bot is run by searching subreddit history until last solution found
  • 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

  • Add list of emails to which notifications should be sent
  • Switch from toml package to tomlkit package
    • Preserves style, comments, etc.

database.py

  • For each solved submission, store:
    • submission id
    • solution comment id
    • solved comment id
    • date
    • solver id
  • 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
    • Seems like overkill, though