Skip to content

Commit 88c65fb

Browse files
authored
Merge branch 'master' into components-v2
2 parents ea29f72 + 8fdf18e commit 88c65fb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

discord/ext/pages/pagination.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1163,7 +1163,7 @@ async def respond(
11631163
if target is not None and not isinstance(target, discord.abc.Messageable):
11641164
raise TypeError(f"expected abc.Messageable not {target.__class__!r}")
11651165

1166-
if ephemeral and (self.timeout >= 900 or self.timeout is None):
1166+
if ephemeral and (self.timeout is None or self.timeout >= 900):
11671167
raise ValueError(
11681168
"paginator responses cannot be ephemeral if the paginator timeout is 15"
11691169
" minutes or greater"

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[build-system]
22
requires = [
3-
"setuptools>=62.6,<=75.8.0",
4-
"setuptools-scm>=6.2,<=8.1.0",
3+
"setuptools>=62.6,<=75.8.2",
4+
"setuptools-scm>=6.2,<=8.2.0",
55
]
66
build-backend = "setuptools.build_meta"
77

0 commit comments

Comments
 (0)