mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-10-29 16:09:05 +00:00
Add competing activity type
This commit is contained in:
1 parent
8f105a441d
commit
cc26499237
2 files changed
+6
No files matched your search
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user