From 20afbca84e27095eb10c1a9bb7b829d9d1e71645 Mon Sep 17 00:00:00 2001 From: un1xx Date: Wed, 16 Apr 2025 23:16:05 +0530 Subject: [PATCH] update --- exts/war_monitor.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/exts/war_monitor.py b/exts/war_monitor.py index 8b68aa9..7e7ea94 100644 --- a/exts/war_monitor.py +++ b/exts/war_monitor.py @@ -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" )