1
0
Fork 0
mirror of synced 2024-05-20 20:42:27 +12:00

Add a check to ensure the message is not deleted as we're waiting for a reaction

This commit is contained in:
Phxntxm 2017-03-10 14:25:37 -06:00
parent 00c8f2509f
commit c49bae11a8

View file

@ -66,7 +66,10 @@ class Pages:
if not first:
self.embed.description = '\n'.join(p)
await self.message.edit(embed=self.embed)
try:
await self.message.edit(embed=self.embed)
except discord.NotFound:
self.paginating = False
return
# verify we can actually use the pagination session