update
This commit is contained in:
1 parent
59bab159ee
commit
20afbca84e
1 file changed
+4
-4
+4
-4
@@ -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"
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user