Browse Source

Add competing activity type

pull/5839/head
iDutchy 5 years ago
committed by GitHub
parent
commit
cc26499237
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      discord/enums.py
  2. 5
      docs/api.rst

1
discord/enums.py

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

5
docs/api.rst

@ -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…
Cancel
Save