text to speech bot for discord.
(Support CoeFont voice.)
- go@latest
- ffmpeg@4
go install github.com/takanakahiko/discord-tts/cmd/discord-tts@latest
export TOKEN=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
export COEFONT_ACCESS_TOKEN=xxxxxxxxxxxxxxxxxx
export COEFONT_SECRET=xxxxxxxxxxxxxxxxxxxxxxxx
discord-tts [--prefix=xxx]
@<bot-name> join
: The bot enters the same voice chat as you- In same channel of 1 , send chat
hogehuga
: Bot talks to 'hogehuga' in voice chat.
In this sample, the bot says "test".
discord-tts --prefix=xxx
You can use it like this
xxx join
xxx leave
export TOKEN=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
export COEFONT_ACCESS_TOKEN=xxxxxxxxxxxxxxxxxx
export COEFONT_SECRET=xxxxxxxxxxxxxxxxxxxxxxxx
go run cmd/discord-tts/discord-tts.go
Welcome