aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_core/utils/pagination.py
diff options
context:
space:
mode:
Diffstat (limited to 'pydis_core/utils/pagination.py')
-rw-r--r--pydis_core/utils/pagination.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/pydis_core/utils/pagination.py b/pydis_core/utils/pagination.py
index a87bb290..aac75ae1 100644
--- a/pydis_core/utils/pagination.py
+++ b/pydis_core/utils/pagination.py
@@ -349,7 +349,7 @@ class LinePaginator(Paginator):
except discord.HTTPException as e:
# Suppress if trying to act on an archived thread.
if e.code != 50083:
- raise e
+ raise
if reaction.emoji == pagination_emojis.first:
current_page = 0
@@ -385,7 +385,7 @@ class LinePaginator(Paginator):
if e.code == 50083:
# Trying to act on an archived thread, just ignore and abort
break
- raise e
+ raise
log.debug("Ending pagination and clearing reactions.")
with suppress(discord.NotFound):
@@ -394,4 +394,4 @@ class LinePaginator(Paginator):
except discord.HTTPException as e:
# Suppress if trying to act on an archived thread.
if e.code != 50083:
- raise e
+ raise