Skip to content

Commit

Permalink
fix: don't try to do an interaction_check if there isn't a user avail…
Browse files Browse the repository at this point in the history
…able to check
  • Loading branch information
Revnoplex committed Sep 30, 2024
1 parent d39caa0 commit 3de2990
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions discord/ext/pages/pagination.py
Original file line number Diff line number Diff line change
Expand Up @@ -1090,8 +1090,10 @@ async def edit(

if page_content.custom_view:
self.update_custom_view(page_content.custom_view)

self.user = user or self.user
if user or self.user:
self.user = user or self.user
else:
self.usercheck = False

try:
self.message = await message.edit(
Expand Down

0 comments on commit 3de2990

Please sign in to comment.