From 99fa8940a60ad122000267c009060f0bbe8a3918 Mon Sep 17 00:00:00 2001 From: PC-Admin Date: Fri, 21 Jul 2023 01:24:34 +0800 Subject: [PATCH] warn hs admin about which tags are about to be automatically blocked/purged --- rdlist_commands.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rdlist_commands.py b/rdlist_commands.py index 421148e..6cb3135 100644 --- a/rdlist_commands.py +++ b/rdlist_commands.py @@ -42,7 +42,7 @@ def block_all_rooms_with_rdlist_tags(rdlist_use_recommended,preset_user_ID,prese if rdlist_use_recommended == True: # Take input from the user and convert it to a list blocked_tags = hardcoded_variables.rdlist_recommended_tags - print("\nUsing recommended rdlist tags.\n") + print("\nUsing recommended rdlist tags. Rooms matching the following tags will be blocked and purged:\n\n" + str(hardcoded_variables.rdlist_recommended_tags)) elif rdlist_use_recommended == False: # After the git repo has been cloned/pulled, open the file and read it into a string with open(os.path.join("rdlist", "lib", "docs", "tags.md"), 'r') as file: @@ -129,6 +129,6 @@ def block_recommended_rdlist_tags(): # Block all rooms with recommended tag set block_all_rooms_with_rdlist_tags(True, hardcoded_variables.rdlist_bot_username, preset_new_room_name, preset_message, preset_purge_choice, preset_block_choice) # Print user login details - print("\nUser login details:\n") + print("\n\nUser login details for your moderator account:\n") print("Username: " + hardcoded_variables.rdlist_bot_username) print("Password: " + preset_password)