Add competing activity type
This commit is contained in:
parent
8f105a441d
commit
cc26499237
@ -417,6 +417,7 @@ class ActivityType(Enum):
|
|||||||
listening = 2
|
listening = 2
|
||||||
watching = 3
|
watching = 3
|
||||||
custom = 4
|
custom = 4
|
||||||
|
competing = 5
|
||||||
|
|
||||||
def __int__(self):
|
def __int__(self):
|
||||||
return self.value
|
return self.value
|
||||||
|
@ -984,6 +984,11 @@ of :class:`enum.Enum`.
|
|||||||
.. attribute:: custom
|
.. attribute:: custom
|
||||||
|
|
||||||
A custom activity type.
|
A custom activity type.
|
||||||
|
.. attribute:: competing
|
||||||
|
|
||||||
|
A competing activity type.
|
||||||
|
|
||||||
|
.. versionadded:: 1.5
|
||||||
|
|
||||||
.. class:: HypeSquadHouse
|
.. class:: HypeSquadHouse
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user