Skip to content

Commit 2dc7e65

Browse files
committed
Merge remote-tracking branch 'pycord/master' into feat/role-tags-rewrite
2 parents 7357716 + ace28d8 commit 2dc7e65

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

discord/ext/bridge/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ def __getattribute__(self, name):
232232
except AttributeError as e:
233233
# if it doesn't exist, check this list, if the name of
234234
# the parameter is here
235-
if name is self.__special_attrs__:
235+
if name in self.__special_attrs__:
236236
raise e
237237

238238
# looks up the result in the variants.

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"

discord/role.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ class RoleTags:
164164
Role tags are a fairly complex topic, since it's usually hard to determine which role tag combination represents which role type.
165165
In order to make your life easier, pycord provides a :attr:`RoleTags.type` attribute that attempts to determine the role type based on the role tags. It's value is not provided by discord but is rather computed by pycord based on the role tags.
166166
If you find an issue, please open an issue on `GitHub <https://github.com/Pycord-Development/pycord/issues/new?template=bug_report.yml>`_.
167-
Read `this <https://lulalaby.notion.site/Special-Roles-Documentation-17411d3839e680abbb1eff63c51bd7a7?pvs=4>`_ if you need detailed information about how role tags work.
167+
Read `this <https://discord-lib-devs.notion.site/special-roles-role-tags>`_ if you need detailed information about how role tags work.
168168
169169
.. versionadded:: 1.6
170170
.. versionchanged:: 2.7

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)