mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-19 15:36:02 +00:00
Add competing activity type
This commit is contained in:
parent
8f105a441d
commit
cc26499237
@ -417,6 +417,7 @@ class ActivityType(Enum):
|
||||
listening = 2
|
||||
watching = 3
|
||||
custom = 4
|
||||
competing = 5
|
||||
|
||||
def __int__(self):
|
||||
return self.value
|
||||
|
@ -984,6 +984,11 @@ of :class:`enum.Enum`.
|
||||
.. attribute:: custom
|
||||
|
||||
A custom activity type.
|
||||
.. attribute:: competing
|
||||
|
||||
A competing activity type.
|
||||
|
||||
.. versionadded:: 1.5
|
||||
|
||||
.. class:: HypeSquadHouse
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user