This commit is contained in:
un1xx committed 2025-04-16 23:16:05 +05:30
1 parent 59bab159ee
commit 20afbca84e
1 file changed
+4 -4
+4 -4
View File
@@ -91,13 +91,13 @@ class WarMonitor(commands.Cog):
if war.att_alliance_id: # in MONITORED_ALLIANCES:
attacker = await self.kit.query(
"nation",
"nations",
{"id": war.att_id, "first": 1},
"nation_name, flag, num_cities, soldiers, tanks, aircraft, ships, missiles, score, nukes"
)
attacker = attacker.nations[0]
defender = await self.kit.query(
"nation",
"nations",
{"id": war.def_id, "first": 1},
"nation_name, flag, num_cities, soldiers, tanks, aircraft, ships, missiles, score, nukes"
)
@@ -113,13 +113,13 @@ class WarMonitor(commands.Cog):
if war.def_alliance_id: #in MONITORED_ALLIANCES:
attacker = await self.kit.query(
"nation",
"nations",
{"id": war.att_id, "first": 1},
"nation_name, flag, num_cities, soldiers, tanks, aircraft, ships, missiles, score, nukes"
)
attacker = attacker.nations[0]
defender = await self.kit.query(
"nation",
"nations",
{"id": war.def_id, "first": 1},
"nation_name, flag, num_cities, soldiers, tanks, aircraft, ships, missiles, score, nukes"
)