update war monitor

This commit is contained in:
un1xx committed 2025-04-27 17:54:33 +05:30
1 parent 6e6ad44628
commit 8edff04e54
1 file changed
+1 -1
+1 -1
View File
@@ -315,7 +315,7 @@ class WarMonitor(commands.Cog):
button = timeline_button(war.id)
# get last message in channel
try:
message = await channel.pins()[0]
message = (await channel.pins())[0]
await message.edit(embeds=[war_card], view=button)
except Exception as e:
m = await channel.send(embeds=[war_card], view=button)