diff --git a/discord/enums.py b/discord/enums.py index 2a3248f87..ea5b04673 100644 --- a/discord/enums.py +++ b/discord/enums.py @@ -914,9 +914,9 @@ class SubscriptionStatus(Enum): class StatusDisplayType(Enum): - NAME = 0 - STATE = 1 - DETAILS = 2 + name = 0 # pyright: ignore[reportAssignmentType] + state = 1 + details = 2 def create_unknown_value(cls: Type[E], val: Any) -> E: diff --git a/docs/api.rst b/docs/api.rst index 24345e68a..0fa479caa 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -3888,15 +3888,15 @@ of :class:`enum.Enum`. .. versionadded:: 2.6 - .. attribute:: NAME + .. attribute:: name The name of the activity is displayed. - .. attribute:: STATE + .. attribute:: state The state of the activity is displayed. - .. attribute:: DETAILS + .. attribute:: details The details of the activity are displayed.