aria-music / zundacord

Japanese Text-to-speech bot for Discord, powered by VOICEVOX
MIT License
7 stars 4 forks source link
discord text-to-speech voicevox

Zundacord

Discord TTS Bot, powered by VOICEVOX

application screenshot

Alpha Version Warning!

This application is still in early development stage and considered unstable. Please consult the lines below carefully. Use with caution!

Run

Configuration

  1. Create the Discord Application and invite the bot to your Discord server.
    • Message Content Intent is required. How to enable Message Content Intent
    • Zundacord requires bot and applications.commands OAuth2 scopes. (Look at the figure)
    • For bot permissions, Zundacord requires Connect and Speak. (Look at the figure) How to set permission
    • To sum up, your bot invitation URL may look like: https://discord.com/api/oauth2/authorize?client_id=<APPLICATION_ID>&permissions=3145728&scope=bot%20applications.commands How to get bot invitation URL
  2. Copy .env.example and create .env. Put the Discord bot token to them. How to get bot token

Run with Docker

$ docker compose up

Run with npm

$ npm ci
$ npm start