8c4bb5ac606622452cab8c911ec0a8346c0919fa
Markov now uses a sqlite3 database instead of flat JSON files. This should significantly speed up saving time, plus reduce the amount of RAM that it uses. Saving and loading large JSON files was very slow and caused issues with other plugins, especially when messages were received. Additionally, in order to save RAM, a cache was used and periodically flushed when not used, adding some complications to the implementation. This has all been removed since things get committed on the fly with the database implementation. The main trade-off we have to make is the disk space used by the database. This is OK though, because disk space is cheap while RAM is not. Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
omnibot
"Fourth time's the charm!"
This is an IRC chatbot that can be extended with plugins. Omnibot comes with a few plugins pre-packaged.
Configuring and running
Copy the config.example.toml file to config.toml and fill it out for your needs.
How do I add multiple servers?
Simply put, you don't. Run another instance of the bot with its own configuration if you want to do that.
Running
- Install dependencies
pipenv install - Run
pipenv run python -m omnibot
Troubleshooting
aiohttp fails to install
pipenv run pip install "aiohttp[speedups]"
Description
Languages
Python
99.7%
Dockerfile
0.3%