File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11#! /bin/bash
22
33# Check if UPDATE=true
4- if [ " $UPDATE " == " true" ]; then
5- echo " Running in update mode. Skipping Python script execution."
6- # Keep the container running without executing the Python script
7- tail -f /dev/null # This will keep the container running indefinitely
8- exit 0 # Exit so the Python script doesn't run
9- fi
4+ # if [ "$UPDATE" == "true" ]; then
5+ # echo "Running in update mode. Skipping Python script execution."
6+ # # Keep the container running without executing the Python script
7+ # tail -f /dev/null # This will keep the container running indefinitely
8+ # exit 0 # Exit so the Python script doesn't run
9+ # fi
1010
1111# Printing Env Data
1212echo " +===========================================================+"
Original file line number Diff line number Diff line change @@ -288,10 +288,10 @@ async def handler(event):
288288 sender = await message .get_sender ()
289289 sender_username = sender .username .lower () if sender .username else None
290290
291- print (f"Sender Username: { sender_username } " )
291+ # print(f"Sender Username: {sender_username}")
292292
293293 if sender_username != TARGET_USERNAME .lower ():
294- print (f"[{ current_time } ] Message { message .id } not from target username, skipping." )
294+ # print(f"[{current_time}] Message {message.id} not from target username, skipping.")
295295 return
296296
297297 # Update last message content **before processing**
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments