lunarflu HF staff commited on
Commit
9e74838
·
verified ·
1 Parent(s): 7ee69a7

clean up presentation

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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']} said: {ping['content']} ( link: {ping['url']})" for ping in daily_pings)
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