From 212f12c8a1153c11be192feb287ffec8abaa7450 Mon Sep 17 00:00:00 2001 From: afolivieri Date: Mon, 22 Apr 2024 17:53:45 +0300 Subject: [PATCH] minor mods --- streaming_overseer.py | 1 + 1 file changed, 1 insertion(+) diff --git a/streaming_overseer.py b/streaming_overseer.py index 53111be..4c91468 100644 --- a/streaming_overseer.py +++ b/streaming_overseer.py @@ -88,6 +88,7 @@ async def main(): word_patterns = load_patterns() channels = [x.strip() for x in open(CHANNELS_FILE, 'r').read().split(',')] channel_id = creds['channel_id'] # Use the channel ID from credentials + await client.send_message(channel_id, f"Listening to {', '.join(channels)}...") @client.on(events.NewMessage(chats=channels)) async def handler(event):