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 |
# 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" |
IB_DOMAIN_NAME = "dummy.ib" |
||||||
GLOBAL_MOD_USERNAME = "dummyglobalmoderator" |
GLOBAL_MOD_USERNAME = "dummy_username" |
||||||
GLOBAL_MOD_PASSWORD = "dummypassword" |
GLOBAL_MOD_PASSWORD = "dummy_password" |
||||||
|
|
||||||
LIVE_POSTS_RETRY_TIMEOUT = 25 # seconds |
LIVE_POSTS_RETRY_TIMEOUT = 25 # seconds |
||||||
FETCH_REPORTS_INTERVAL = 30 # seconds |
FETCH_REPORTS_INTERVAL = 60 * 2 # seconds |
||||||
|
|
||||||
USE_TERMUX_API = False |
USE_TERMUX_API = False |
||||||
|
|
||||||
BLACKLIST = ( |
BLACKLIST = ( |
||||||
r"\bm+o+d+s*\b", |
r"\bd+u+m+m+y*\b", |
||||||
) |
) |
||||||
|
|
||||||
URL_WHITELIST = ( |
URL_WHITELIST = ( |
||||||
r"^(\w*\.)*google.com(/.*)?$", |
r"(\w*:/+)*(\w*\.)*(dummy.com)(/+\w*)*", |
||||||
) |
) |
||||||
|
Loading…
Reference in new issue