From 1d341ab58189d9e67f17bab09128d29bb9682607 Mon Sep 17 00:00:00 2001 From: BreadTube Date: Fri, 9 Jan 2026 00:55:01 +0900 Subject: [PATCH] Fix subscription initial message --- breadtube_bot/bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/breadtube_bot/bot.py b/breadtube_bot/bot.py index 2e68181..a13dc97 100644 --- a/breadtube_bot/bot.py +++ b/breadtube_bot/bot.py @@ -358,7 +358,7 @@ class Bot: self._refresh_subscription(connection, subscription) if subscription.channel_info is None: raise RuntimeError('No channel info after refreshing subscription') - sub_init_message = f'https://www.youtube.com/{subscription.channel_info.url}' + sub_init_message = subscription.channel_info.url sub_messages = self._get_all_channel_messages(sub_channel) if not sub_messages or sub_messages[-1].content != sub_init_message: self.logger.debug('Clearing sub channel: %s', sub_channel.name)