Skip to content

Discord Japanese TTS bot based on Python, OpenJTalk and Flask

License

Notifications You must be signed in to change notification settings

sappho192/discord-pytts-j

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

discord-pytts-j

Discord Japanese TTS bot based on OpenJTalk and Flask

Requirements

  • Python 3.8.8 (recommended) or above
  • Linux(Debian, Ubuntu) recommended

1. TTS Server

2. TTS Bot

  • Discord.py, PyNaCl (pip install discord pynacl)
  • (IMPORTANT) Turn on "SERVER MEMBERS INTENT" in your Discord Bot settings [Check here]

Setup instruction

  1. Install requirements stated above
  2. Create settings.json by cloning settings-default.json
  3. Replace bot_api_token and tts_api_endpoint to your own data

Execute instruction (How to use)

1. TTS Server (main.py)

  • Enter following command in Linux terminal nohup python main.py > tts.log &

2. TTS Bot (bot.py)

  • 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.json nohup python bot2.py > bot2.log &

  • To run 3rd bot, replace bot3_api_token in settings.json nohup python bot3.py > bot3.log &

About

Discord Japanese TTS bot based on Python, OpenJTalk and Flask

Resources

License

Stars

Watchers

Forks

Packages

No packages published