diff --git a/exts/war_monitor.py b/exts/war_monitor.py index cebb0dd..6673f96 100644 --- a/exts/war_monitor.py +++ b/exts/war_monitor.py @@ -499,10 +499,10 @@ class WarMonitor(commands.Cog): await ctx.send(f"this command only works inside {category.name}", delete_after=5) return id = int(ctx.channel.name.split("-")[-1]) + war = await get_war(self.kit, id) if not id: return await ctx.send("> can only use in tracked war channels with IDs in their name.") - await ctx.channel.send(id) - await self.calc_inrange(id, ctx.channel) + await self.calc_inrange(war.att_id, ctx.channel) async def setup(bot: Brahmos): await bot.add_cog(WarMonitor(bot))