mirror of https://gitgud.io/fatchan/globalafk
parent
2630492c84
commit
f9cebb7d1d
2 changed files with 9 additions and 7 deletions
@ -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…
Reference in new issue