bitbot-irc / bitbot

https://bitbot.dev | Python3 event-driven modular IRCv3 bot 🤖

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

whitelist/blacklist don't seem to work

lilmike opened this issue · comments

When testing bitbot on arch linux and discovering rss makes the bot fail to load because of python 3.9, I tried to blacklist rss, and then to whitelist a few modules not including rss, but rss was still attempted to be loaded, which causes the bot to puke and crash. Can this be looked into?
-Michael.

commented

I seem to have a similar issues on Python3.11 and a failing acronym module that I can't deny-list.

commented

Turns out this is might be a problem with Python 3.11.

Using Python 3.10 I don't have this problem.

Edit: yeah definitely related: #362

Well... regardless of this working or not with Python3.11, even when the bot works fine via Python3.10 I can't get the module blacklist or whitelist to work at all.

Any hint on the syntax for it?

module-blacklist = btc, coins, ddg or module-blacklist = btc,coins,ddg isn't working. I also tried to wrap it in " or {} but no difference.