Skip to content

Commit

Permalink
- Fix custom status not being displayed (#208)
Browse files Browse the repository at this point in the history
  • Loading branch information
nwithan8 authored Apr 8, 2024
1 parent 79bb038 commit 3cbd9b7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions modules/discord/discord_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,9 +189,10 @@ async def update_presence(client: discord.Client,
use_custom_activity_type = activity_name is None
if use_custom_activity_type:
activity_type = discord.ActivityType.custom
# For a custom message, all three fields need to be populated
name = line_one
details = None
state = None
details = line_one
state = line_one
else:
activity_type = discord.ActivityType.watching
name = activity_name
Expand Down

0 comments on commit 3cbd9b7

Please sign in to comment.