aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2021-02-26 21:02:31 +0000
committerGravatar GitHub <[email protected]>2021-02-26 21:02:31 +0000
commit64e85ddcc57e2789627c4a4a7869424d7583dc17 (patch)
treeea8e97b2fc541cc4014afa913eb5c2aec2dd74c7
parentMerge pull request #1436 from python-discord/startup-errors (diff)
!int socketstats improvements
- Comma separate event values - Make fields inline for smaller embed
-rw-r--r--bot/exts/utils/internal.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/utils/internal.py b/bot/exts/utils/internal.py
index a7ab43f37..d193e4d4f 100644
--- a/bot/exts/utils/internal.py
+++ b/bot/exts/utils/internal.py
@@ -245,7 +245,7 @@ async def func(): # (None,) -> Any
)
for event_type, count in self.socket_events.most_common(25):
- stats_embed.add_field(name=event_type, value=count, inline=False)
+ stats_embed.add_field(name=event_type, value=f"{count:,}", inline=True)
await ctx.send(embed=stats_embed)