From 3cbd9b7c273c8f687b0f16c3786c5eb61acda7c0 Mon Sep 17 00:00:00 2001 From: Nate Harris Date: Mon, 8 Apr 2024 12:44:30 -0600 Subject: [PATCH] - Fix custom status not being displayed (#208) --- modules/discord/discord_utils.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/discord/discord_utils.py b/modules/discord/discord_utils.py index 118b830..0e25f14 100644 --- a/modules/discord/discord_utils.py +++ b/modules/discord/discord_utils.py @@ -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