move recommended rdlist tags back to the hardcoded variables file for easier adjustment

This commit is contained in:
PC-Admin 2023-07-21 00:58:43 +08:00
parent a2fcbf6ec9
commit 9c935821be
2 changed files with 1 additions and 2 deletions

View File

@ -8,4 +8,5 @@ access_token = ""
ipinfo_token = "" ipinfo_token = ""
# rdlist specific # rdlist specific
rdlist_bot_username = "mod_team" rdlist_bot_username = "mod_team"
rdlist_recommended_tags = ['hub_room_links', 'hub_room_trade', 'preban', 'degen_misc', 'beastiality', 'degen_porn', 'gore', 'snuff', 'degen_larp', 'hub_room_sussy', 'bot_spam', 'cfm', 'jailbait', 'bot_porn', 'toddlercon', 'loli', 'csam', 'tfm', 'degen_meet', 'stylized_3d_loli', '3d_loli']
########################################################################### ###########################################################################

View File

@ -37,8 +37,6 @@ def sync_rdlist():
subprocess.run(["git", "clone", "ssh://gitea@code.glowers.club:1488/loj/rdlist.git"], check=True) subprocess.run(["git", "clone", "ssh://gitea@code.glowers.club:1488/loj/rdlist.git"], check=True)
def block_all_rooms_with_rdlist_tags(rdlist_use_recommended,preset_user_ID,preset_new_room_name,preset_message,preset_purge_choice,preset_block_choice): def block_all_rooms_with_rdlist_tags(rdlist_use_recommended,preset_user_ID,preset_new_room_name,preset_message,preset_purge_choice,preset_block_choice):
# Recommended tags for rdlist
rdlist_recommended_tags = ['hub_room_links', 'hub_room_trade', 'preban', 'degen_misc', 'beastiality', 'degen_porn', 'gore', 'snuff', 'degen_larp', 'hub_room_sussy', 'bot_spam', 'cfm', 'jailbait', 'bot_porn', 'toddlercon', 'loli', 'csam', 'tfm', 'degen_meet', 'stylized_3d_loli', '3d_loli']
# Git clone the rdlist repo to ./rdlist/ # Git clone the rdlist repo to ./rdlist/
sync_rdlist() sync_rdlist()
if rdlist_use_recommended == True: if rdlist_use_recommended == True: