fix error

This commit is contained in:
un1xx committed 2025-04-25 12:18:08 +05:30
1 parent 58222ace21
commit 8f11c957d1
1 file changed
+1 -1
+1 -1
View File
@@ -296,7 +296,7 @@ class WarMonitor(commands.Cog):
await channel.send(embeds=[atk_card, def_card])
button = timeline_button(war.id)
await channel.send(embeds=[war_card], view=button)
await self.calc_inrange(war.id, channel)
await self.calc_inrange(war.att_id, channel)
# try to add defender discord user to the channel
guild = await self.bot.fetch_guild(GUILD)
member = discord.utils.get(guild.members, name=defender.discord)