update raws cmd
This commit is contained in:
1 parent
2e2a749e1a
commit
88c24a93fa
1 file changed
+2
-2
+2
-2
@@ -927,6 +927,7 @@ class Banking(commands.Cog):
|
|||||||
"""
|
"""
|
||||||
Revenue calculation from nations by fetching cities and projects.
|
Revenue calculation from nations by fetching cities and projects.
|
||||||
"""
|
"""
|
||||||
|
message = await ctx.send("Calculating revenue for nations...")
|
||||||
try:
|
try:
|
||||||
revenue_data = await self.get_alliance_rev(ids)
|
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")
|
await ctx.send(f"> {notinalliance} not in MILF or DILF")
|
||||||
|
|
||||||
revenue_data = []
|
revenue_data = []
|
||||||
message = await ctx.send("Calculating revenue for nations...")
|
|
||||||
|
|
||||||
game_data = await self.get_game_data()
|
game_data = await self.get_game_data()
|
||||||
|
|
||||||
@@ -992,7 +992,7 @@ class Banking(commands.Cog):
|
|||||||
)
|
)
|
||||||
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
await ctx.cbsend(f"{traceback.format_exc()}")
|
raise e
|
||||||
return revenue_data
|
return revenue_data
|
||||||
|
|
||||||
async def revenue_calc(
|
async def revenue_calc(
|
||||||
|
|||||||
Reference in new issue
Block a user