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-backend
if you want to use functions that require a backend such as authentication.
- install required items with
pip install -r requirements.txt
2. - write necessary TOKEN etc. to
auth.json
referring toauth.template.json
. 3. Put thert-module
repository inrtlib
and name the folderrt_module
. 4. - run the program in the
rt-backend
repository. (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 thetest
key 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
.