expose nation rss in embed

This commit is contained in:
karan committed 2025-06-01 19:16:15 +05:30
1 parent cb6e88758d
commit f29a3c08f4
1 file changed
+2 -3
+2 -3
View File
@@ -1318,7 +1318,7 @@ class Banking(commands.Cog):
"colors": colors,
}
async def send_revenue_results(self, ctx: commands.Context, revenue_data: list, nation_rss: dict):
async def send_revenue_results(self, ctx: commands.Context, revenue_data: list):
"""Format and send the revenue calculation results."""
if not revenue_data:
return await ctx.send("> No revenue data to display.")
@@ -1334,8 +1334,7 @@ class Banking(commands.Cog):
)
e.add_field(name="Net raws production", value=revenue["net_rev_txt"], inline=False)
e.add_field(name="On Nation", value=f"Coal: {data[nation_coal]}\nIron: {data[nation_iron]}\nTBC", inline=False)
e.add_field(name="On Nation", value=f"Coal: {data['nation_coal']}\nOil: {data['nation_oil']}\nIron: {data['nation_iron']}\nBauxite: {data['nation_bauxite']}\nLead: {data['nation_lead']}", inline=False)
if revenue["footer"]:
e.set_footer(text=revenue["footer"])