diff --git a/README.md b/README.md index 3f70034..4fa6160 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # afkglobal -Obviously requires global manage permissions. \ No newline at end of file +A simple python script that sends ugly notifications when something happens on a jschan imageboard that you moderate. + +Global manage permissions are required. \ No newline at end of file diff --git a/config/config_example.py b/config/config_example.py index 202c0fd..2791fa0 100755 --- a/config/config_example.py +++ b/config/config_example.py @@ -1,16 +1,16 @@ -IB_DOMAIN_NAME = "dummyimageboard.ib" -GLOBAL_MOD_USERNAME = "dummyglobalmoderator" -GLOBAL_MOD_PASSWORD = "dummypassword" +IB_DOMAIN_NAME = "dummy.ib" +GLOBAL_MOD_USERNAME = "dummy_username" +GLOBAL_MOD_PASSWORD = "dummy_password" LIVE_POSTS_RETRY_TIMEOUT = 25 # seconds -FETCH_REPORTS_INTERVAL = 30 # seconds +FETCH_REPORTS_INTERVAL = 60 * 2 # seconds USE_TERMUX_API = False BLACKLIST = ( - r"\bm+o+d+s*\b", + r"\bd+u+m+m+y*\b", ) URL_WHITELIST = ( - r"^(\w*\.)*google.com(/.*)?$", + r"(\w*:/+)*(\w*\.)*(dummy.com)(/+\w*)*", )