Skip to content

jbthecoder5/nortbot

 
 

Repository files navigation

Nortbot

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.

Setup

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 recommended. It has been tested on Windows 7/8.1/10, Debian 8/9/10, and Ubuntu 16/18/19.

Requirements

See requirements.txt for information.

Usage

Change config.ini settings to fit your needs. Don’t forget to change the default key! Then run nortbot.py. For an explanation of the different config settings, read through config settings. Command explanations can be found here.

Compiling

In order to compile simply run compile.bat, located in the compile folder. You will need the following:

More details about pyinstaller's requirements can be found HERE

Using Pyinstaller

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 should now be able to run nortbot.exe

Submitting an issue

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.

Author

License

The MIT License (MIT) See LICENSE for more details.

Acknowledgments

Thanks to the following people, who in some way or another, have contributed to this project:

Technetium1

Aida

About

A tinychat bot.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 99.9%
  • Batchfile 0.1%