update war monitor
This commit is contained in:
1 parent
6e6ad44628
commit
8edff04e54
1 file changed
+1
-1
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user