From cc26499237e579d19b43008d898a07324aef0854 Mon Sep 17 00:00:00 2001 From: iDutchy <42503862+iDutchy@users.noreply.github.com> Date: Sun, 20 Sep 2020 06:05:18 +0200 Subject: [PATCH] Add competing activity type --- discord/enums.py | 1 + docs/api.rst | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/discord/enums.py b/discord/enums.py index c171e1e35..7fa39289f 100644 --- a/discord/enums.py +++ b/discord/enums.py @@ -417,6 +417,7 @@ class ActivityType(Enum): listening = 2 watching = 3 custom = 4 + competing = 5 def __int__(self): return self.value diff --git a/docs/api.rst b/docs/api.rst index c97197cd5..55f20aa8c 100644 --- a/docs/api.rst +++ b/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