diff --git a/README.md b/README.md index b743e67..1d17f39 100644 --- a/README.md +++ b/README.md @@ -2,14 +2,26 @@ An IRC bot for helping people on /r/monerosupport -todo - ``` # Setup python3 -m venv .venv source .venv/bin/activate pip install -r requirements.txt +cp supportbot/config.{example.py,py} # Run 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 diff --git a/requests.txt b/requirements.txt similarity index 100% rename from requests.txt rename to requirements.txt diff --git a/supportbot/__main__.py b/supportbot/__main__.py index 59e3f15..6acb0da 100644 --- a/supportbot/__main__.py +++ b/supportbot/__main__.py @@ -1,5 +1,5 @@ import logging -from supportbot import run_bot +from supportbot import bot logging.basicConfig( level=logging.INFO, @@ -7,4 +7,4 @@ logging.basicConfig( ) if __name__ == '__main__': - run_bot() + bot.run_bot() diff --git a/supportbot/bot.py b/supportbot/bot.py index 0cf4353..0998514 100644 --- a/supportbot/bot.py +++ b/supportbot/bot.py @@ -27,7 +27,6 @@ class IRCBot(pydle.Client): return admin - def run_bot(): try: print(f"[+] Starting IRC bot connecting to {config.IRC_HOST}...\n")