update
This commit is contained in:
1 parent
76d148408a
commit
0f38b7b45c
2 files changed
+38
-69
No files matched your search
@@ -23,3 +23,9 @@ async def get_webhook(
|
||||
|
||||
def discord_bg_embed(desc: str = "\u200b") -> discord.Embed:
|
||||
return discord.Embed(color=0x36393E, description=desc)
|
||||
|
||||
def format_count(num):
|
||||
if num >= 1000:
|
||||
return f"{num/1000:,.1f}K"
|
||||
else:
|
||||
return num
|
||||
Reference in new issue
Block a user