lunarflu HF staff commited on
Commit
96097d8
1 Parent(s): 319ee89

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -272,7 +272,7 @@ async def top_gradio_threads(ctx, channel_id):
272
 
273
 
274
  sorted_users = sorted(message_counts.items(), key=lambda x: x[1], reverse=True)
275
- top_list = "\n".join([f"{member.name}: {count}" for member, count in sorted_users[:50]])
276
  print(f"Message count per user in the channel:\n{top_list}")
277
 
278
 
 
272
 
273
 
274
  sorted_users = sorted(message_counts.items(), key=lambda x: x[1], reverse=True)
275
+ top_list = "\n".join([f"[{member.id}]{member.name}: {count}" for member, count in sorted_users[:50]])
276
  print(f"Message count per user in the channel:\n{top_list}")
277
 
278