Add a check to ensure the message is not deleted as we're waiting for a reaction
This commit is contained in:
parent
00c8f2509f
commit
c49bae11a8
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue