A bot for Tinychat chat rooms.
This started out with some improvements to a few files for the bot in the room I go to. This basically led to a complete rewrite of almost everything.
For a Windows user that wants a bot without having to deal with the Python aspect, I have provided a compiled Windows executable in the Releases section.
It is somewhat based on pinylib-rtc/tinybot-rtc so Python 2.7.16+ is required. It has been tested on Windows 10, Debian 9/10, and Ubuntu 16/18/19.
Requirements.txt contains a list of requirements which can be installed with pip install -r /path/to/requirements.txt
Change config.ini settings to fit your needs. Don’t forget to change the default key! Then run nortbot.py
.
For a detailed explanation of the different config settings, read through the config settings.
Command explanations can be found HERE.
In order to compile simply run compile.bat
, located in the compile
folder. You will need the following:
- Python 2.7.16+ in your path.
- Possibly Microsoft Visual C++ 2008 Redistributable Package.
- May need elevated permission on first run.
More details about pyinstaller's requirements can be found HERE
You will need pyinstaller, it can be installed with the following command: pip install pyinstaller
Next, change directory to the directory containing the source code: cd path/to/source/code/files
from there run: pyinstaller --onefile nortbot.py
.
2 new directories will be created, build and dist. The dist directory will contain nortbot.exe. Copy cacert.pem and config.ini to the dist directory.
You can now run nortbot.exe
!
Please read through the ISSUES before submitting a new one. If you want to submit a new issue, then use an ISSUE TEMPLATE. Please use an issue template, they're there for a reason! If you need more help or have questions that are not already answered in the issues, you can join this Discord server.
The MIT License (MIT) See LICENSE for more details.
Thanks to the following people, who in some way or another, have contributed to this project: