archangelic / pinhook

the pluggable python framework for IRC bots and Twitch bots
https://archangelic.github.io/pinhook/
MIT License
31 stars 4 forks source link

Ban users by nick #51

Closed archangelic closed 4 years ago

archangelic commented 5 years ago

There should be an internal command that ops can add a user by nick that cannot interact with a bot (commands and messages to listeners should be ignored)

Should be paired with an unban command.

RussellChamp commented 5 years ago

I'm guessing this would mean some sort of data persistence? how would you like to do that? however it is done, either prepend it with the bot nick or allow users to specify the file name or something...

archangelic commented 5 years ago

Ah yeah, none of the data is persistent in pinhook. All the config stuff i'm doing is reading before initializing the bot, so this will have to be tied into it.

archangelic commented 5 years ago

So, would having the bot initialize and keep a sqlite database with this information be a good route?