Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
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 |
|