minor fixes, add todo list

main
lza_menace 4 years ago
parent 05d08bfc5f
commit 2c282106db

@ -2,14 +2,26 @@
An IRC bot for helping people on /r/monerosupport An IRC bot for helping people on /r/monerosupport
todo
``` ```
# Setup # Setup
python3 -m venv .venv python3 -m venv .venv
source .venv/bin/activate source .venv/bin/activate
pip install -r requirements.txt pip install -r requirements.txt
cp supportbot/config.{example.py,py}
# Run # Run
python3 -m supportbot python3 -m supportbot
``` ```
## TODO
- RSS feed https://www.reddit.com/r/monerosupport/new/.rss (track state in DB from posted feeds)
- ACLs / list of user handles for special privileges within DB (potentially IRC modes, 0-100)
- basic queue functionality, list queue, see status
- rudimentary ticket system to "claim" something in the feed
- basic search for past issues
nice to haves:
- reply to comment from IRC
- custom deltabot

@ -1,5 +1,5 @@
import logging import logging
from supportbot import run_bot from supportbot import bot
logging.basicConfig( logging.basicConfig(
level=logging.INFO, level=logging.INFO,
@ -7,4 +7,4 @@ logging.basicConfig(
) )
if __name__ == '__main__': if __name__ == '__main__':
run_bot() bot.run_bot()

@ -27,7 +27,6 @@ class IRCBot(pydle.Client):
return admin return admin
def run_bot(): def run_bot():
try: try:
print(f"[+] Starting IRC bot connecting to {config.IRC_HOST}...\n") print(f"[+] Starting IRC bot connecting to {config.IRC_HOST}...\n")

Loading…
Cancel
Save