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

1.8 KiB

DONE

General

File-Specific

bot.py

  • Allow mods to mark a post as solved with "/[Ss]olved"
  • Allow mods to use "/[Ss]olved" in any context
  • When replying to solution, the bot should...
    • Reply to the comment containing the "![Ss]olved" string
    • Tag the solver so they will be notified
    • Delete the automod message
  • Add a star to the user flair for every 100 points
  • Add a way to look up user points
    • i.e. summon bot by tagging it and provide a username to look up
    • the bot will reply with the last message that the user received

config.py

  • Change from ini to toml
  • Consolidate pointsbot.ini and praw.ini into a single config file.
  • Add option for flair_template_id
  • Check for config file in a well-known location, e.g. ~ directory
    • Probably named ~/.pointsbot or something similar
    • Could do something similar to packages like PRAW:
      1. Look in current working directory first.
      2. Look in OS-dependent location next.
      3. (Maybe) Finally, could look in the directory containing the source files (using __file__).
  • Add interactive config scipt
  • Fix titlecase problem with roman numerals
    • Only an issue with ini format
  • Separate the development-handy config items into separate section
    • Don't really have any right now

database.py

reply.py

  • Fix progress bar
  • For the footer section of the reply comment regarding the bot, could have the bot make a post on its account explaining itself, and link to that (and then also link to the source code separately, and perhaps in that post, too). Could even have the bot make this post automatically if it doesn't have a link to the post in its config, and then store the link for future use.