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)