Discord Japanese TTS bot based on OpenJTalk and Flask
- Python 3.8.8 (recommended) or above
- Linux(Debian, Ubuntu) recommended
- Flask (
pip install flask
) - OpenJTalk [Setup Instruction]
- Discord.py, PyNaCl (
pip install discord pynacl
) - (IMPORTANT) Turn on "SERVER MEMBERS INTENT" in your Discord Bot settings [Check here]
- Install requirements stated above
- Create
settings.json
by cloningsettings-default.json
- Replace
bot_api_token
andtts_api_endpoint
to your own data
- Enter following command in Linux terminal
nohup python main.py > tts.log &
-
Enter following command in Linux terminal
nohup python bot.py > bot.log &
-
You can also run other bots with following command
-
To run 2nd bot, replace
bot2_api_token
in settings.jsonnohup python bot2.py > bot2.log &
-
To run 3rd bot, replace
bot3_api_token
in settings.jsonnohup python bot3.py > bot3.log &