From 88c24a93fa71964ce435c1d5d2987bef8055e76f Mon Sep 17 00:00:00 2001 From: un1xx Date: Fri, 6 Jun 2025 19:09:43 +0530 Subject: [PATCH] update raws cmd --- exts/banking.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exts/banking.py b/exts/banking.py index 5402413..4752dc7 100644 --- a/exts/banking.py +++ b/exts/banking.py @@ -927,6 +927,7 @@ class Banking(commands.Cog): """ Revenue calculation from nations by fetching cities and projects. """ + message = await ctx.send("Calculating revenue for nations...") try: revenue_data = await self.get_alliance_rev(ids) @@ -967,7 +968,6 @@ class Banking(commands.Cog): await ctx.send(f"> {notinalliance} not in MILF or DILF") revenue_data = [] - message = await ctx.send("Calculating revenue for nations...") game_data = await self.get_game_data() @@ -992,7 +992,7 @@ class Banking(commands.Cog): ) except Exception as e: - await ctx.cbsend(f"{traceback.format_exc()}") + raise e return revenue_data async def revenue_calc(