This project is an attempt at making a Python Bot for which it's very easy to write plugins.
Install the requirements:
pip install -r requirements.txt
Run the code:
python main.py
There are three main files:
- Bot.py: Handles sockets and connections.
- Plugin.py: States the main structure every plugin should follow.
- main.py: Interacts with Bot.py and links all plugins together.
This file must be added to the repository for the bot to work.
{
"conf" : {
"irc": "irc.libera.chat",
"port": 6667,
"nick": "SirLancebot",
"user": "SirLancebot",
"real": "SirLancebot",
"pass": "",
"chans": [""]
},
"Lichess" : {
"lichess_usernames" : {}
},
"Weather" : {
"key": ""
}
}