Skip to content

Commit

Permalink
Add Competing activity type
Browse files Browse the repository at this point in the history
For some reason discord hasn't documented the fields this introduces to the activity object so this may end up being a preliminary commit.
  • Loading branch information
FasterSpeeding committed Sep 15, 2020
1 parent 884a32b commit 3faa862
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions hikari/presences.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ class ActivityType(enum.IntEnum):
Bots currently do not support setting custom statuses.
"""

COMPETING = 5
"""Shows up as `Competing in <name>`"""

def __str__(self) -> str:
return self.name

Expand Down

0 comments on commit 3faa862

Please sign in to comment.