Updated config example and README

master
myumyu 3 years ago
parent 2630492c84
commit f9cebb7d1d
  1. 4
      README.md
  2. 12
      config/config_example.py

@ -1,2 +1,4 @@
# afkglobal
Obviously requires global manage permissions.
A simple python script that sends ugly notifications when something happens on a jschan imageboard that you moderate.
Global manage permissions are required.

@ -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*)*",
)

Loading…
Cancel
Save