Skip to content

Commit f923153

Browse files
committed
add changelog entry
1 parent fd95b80 commit f923153

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

changelog/1307.feature.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add the new :attr:`Activity.details_url`, :attr:`Activity.state_url`, :attr:`Activity.status_display_type` and :class:`StatusDisplayType` RPC attributes and enum.

disnake/enums.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -607,7 +607,7 @@ def __str__(self) -> str:
607607
class StatusDisplayType(Enum):
608608
"""Specifies an :class:`Activity` display status.
609609
610-
.. versionaddedd:: 2.11
610+
.. versionadded:: 2.11
611611
"""
612612

613613
name = 0 # type: ignore[reportAssignmentType]

docs/api/activities.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,12 @@ Status
8383
.. autoclass:: Status()
8484
:members:
8585

86+
StatusDisplayType
87+
~~~~~~~~~~~~~~~~~
88+
89+
.. autoclass:: StatusDisplayType()
90+
:members:
91+
8692
Events
8793
------
8894

0 commit comments

Comments
 (0)