This commit is contained in:
un1xx committed 2025-04-16 23:42:16 +05:30
1 parent f5d90325ac
commit 94e273392c
1 file changed
+4 -4
+4 -4
View File
@@ -96,7 +96,7 @@ class WarMonitor(commands.Cog):
channel = await self.bot.fetch_channel(WAR_LOG_CHANNEL)
if war.att_alliance_id: # in MONITORED_ALLIANCES:
if war.att_alliance_id in MONITORED_ALLIANCES:
embed1 = await build_embed(war.att_id, discord.Color.green())
embed2 = await build_embed(war.def_id, discord.Color.green())
@@ -106,10 +106,10 @@ class WarMonitor(commands.Cog):
await channel.send(embeds=[embed1, embed2], view=view, content="> WAR (OFFENSIVE)")
if war.def_alliance_id: #in MONITORED_ALLIANCES:
if war.def_alliance_id in MONITORED_ALLIANCES:
embed1 = await build_embed(war.att_id, discord.Color.green())
embed2 = await build_embed(war.def_id, discord.Color.green())
embed1 = await build_embed(war.att_id, discord.Color.red())
embed2 = await build_embed(war.def_id, discord.Color.red())
embed2.timestamp = datetime.datetime.now()
view = url_button_view(war)