This commit is contained in:
un1xx committed 2025-04-18 17:14:08 +05:30
1 parent 7db6bbe839
commit 76d148408a
1 file changed
+5
+5
View File
@@ -146,6 +146,11 @@ class WarMonitor(commands.Cog):
return channel
async def build_nation_card(self, nation: pnwkit.Nation) -> discord.Embed:
def format_count(num):
if num >= 1000:
return f"{num/1000:,.1f}K"
else:
return num
em = discord.Embed(
title=f"{nation.nation_name}",
url=f"https://politicsandwar.com/nation/id={nation.id}",