fix error
This commit is contained in:
1 parent
58222ace21
commit
8f11c957d1
1 file changed
+1
-1
+1
-1
@@ -296,7 +296,7 @@ class WarMonitor(commands.Cog):
|
|||||||
await channel.send(embeds=[atk_card, def_card])
|
await channel.send(embeds=[atk_card, def_card])
|
||||||
button = timeline_button(war.id)
|
button = timeline_button(war.id)
|
||||||
await channel.send(embeds=[war_card], view=button)
|
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
|
# try to add defender discord user to the channel
|
||||||
guild = await self.bot.fetch_guild(GUILD)
|
guild = await self.bot.fetch_guild(GUILD)
|
||||||
member = discord.utils.get(guild.members, name=defender.discord)
|
member = discord.utils.get(guild.members, name=defender.discord)
|
||||||
|
|||||||
Reference in new issue
Block a user