From aad562cb2dd4543b21c942913c410e7c3f6eef07 Mon Sep 17 00:00:00 2001 From: ByteDice Date: Tue, 8 Jul 2025 12:30:35 +0200 Subject: [PATCH] removed ability to change subreddit without restart (cuz broken or something) --- src/python/bot.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/python/bot.py b/src/python/bot.py index 0f79879..cb34ff9 100644 --- a/src/python/bot.py +++ b/src/python/bot.py @@ -64,8 +64,6 @@ class Bot: return True async def update_cfg(self, new_cfg: dict[str, Any]) -> bool: - self.sr = await self.r.subreddit("+".join(self.sr_list)) - self.sr_list = new_cfg[CFG_DATA_RE]["subreddits"].split("+") self.fetch_limit = new_cfg[CFG_DATA_RE]["fetch_limit"] self.flairs = new_cfg[CFG_DATA_RE]["search_flairs"] self.aliases = new_cfg[CFG_DATA_RE]["aliases"]