Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
clean up presentation
Browse files
app.py
CHANGED
@@ -154,7 +154,7 @@ def send_daily_pings():
|
|
154 |
if daily_pings:
|
155 |
print("sending daily pings...")
|
156 |
# combine into one message
|
157 |
-
combined_message = '\n'.join(f"{ping['author']} in #{ping['channel']}
|
158 |
#await post_to_slack(None, combined_message, SLACK_CHANNEL_ID_TEST, None, None, None)
|
159 |
|
160 |
|
|
|
154 |
if daily_pings:
|
155 |
print("sending daily pings...")
|
156 |
# combine into one message
|
157 |
+
combined_message = '\n'.join(f"{ping['mention']} (for the keyword -> '{ping['trigger']}')\nFrom {ping['author']} in channel #{ping['channel']}: {ping['content']}\n{ping['url']}" for ping in daily_pings)
|
158 |
#await post_to_slack(None, combined_message, SLACK_CHANNEL_ID_TEST, None, None, None)
|
159 |
|
160 |
|