From 11c77bcc89452abb54c1dbe8e35496c41ca3ee20 Mon Sep 17 00:00:00 2001 From: Interitio Date: Thu, 30 Oct 2025 23:42:56 +1000 Subject: [PATCH] tweak: Add fallback user name --- subathon/channel.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/subathon/channel.py b/subathon/channel.py index cc87b3a..c0b8638 100644 --- a/subathon/channel.py +++ b/subathon/channel.py @@ -106,8 +106,8 @@ async def prepare_subathon( if contrib.profileid: profile = await profiler.get_profile(contrib.profileid) assert profile is not None - name = profile.nickname - user_id = None + name = profile.nickname or "Unknown" + user_id = str(profile.profileid) else: name = "Anonymous" user_id = None