This is the RT Bot of Discord's Bot.
RT is a feature-rich bot with features that most bots have.
It also has features that other bots don't have.
Connect to RT, Discord's Bot account, to start RT's service.
It also communicates with rt-backend via WebSocket for web authentication and so on.
If you don't know about RT, have a look at here.
(日本語版のreadmeはこちら)
BSD 4-Clause License (The LICENSE file has more details.)
See contributing.md.
Required.
- Python 3.10
- MySQL or MariaDB.
- Everything in
requirements.txt. - Run
rt-backendif you want to use functions that require a backend such as authentication.
- install required items with
pip install -r requirements.txt2. - write necessary TOKEN etc. to
auth.jsonreferring toauth.template.json. 3. Put thert-modulerepository inrtliband name the folderrt_module. 4. - run the program in the
rt-backendrepository. (This is optional and you need to do it if you want to run something that requires a backend such as authentication. 5.) Run the tests withpython3 main.py test. (In this case, TOKEN will be the one in thetestkey ofauth.json.)
(In this case, TOKEN is the one in the key of test in auth.json.) * Read readme.md in cogs/tts if you want to run the readout.
The startup command is sudo -E python3 main.py production and you need auth.json TOKEN for production.