We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 95bc457 commit a145bcdCopy full SHA for a145bcd
discord/ext/pages/pagination.py
@@ -1163,7 +1163,7 @@ async def respond(
1163
if target is not None and not isinstance(target, discord.abc.Messageable):
1164
raise TypeError(f"expected abc.Messageable not {target.__class__!r}")
1165
1166
- if ephemeral and (self.timeout >= 900 or self.timeout is None):
+ if ephemeral and (self.timeout is None or self.timeout >= 900):
1167
raise ValueError(
1168
"paginator responses cannot be ephemeral if the paginator timeout is 15"
1169
" minutes or greater"
0 commit comments