Add competing activity type

This commit is contained in:
iDutchy 2020-09-20 06:05:18 +02:00 committed by GitHub
parent 8f105a441d
commit cc26499237
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View File

@ -417,6 +417,7 @@ class ActivityType(Enum):
listening = 2
watching = 3
custom = 4
competing = 5
def __int__(self):
return self.value

View File

@ -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