Skip to content

VOICEVOXとdiscord.jsを利用した読み上げBOTです

License

Notifications You must be signed in to change notification settings

amu0/yomiage-chan

Repository files navigation

読み上げちゃん

VOICEVOXdiscord.js を利用した読み上げBOTです

機能

  • VOICEVOXを利用したチャットの読み上げ
  • 21種類のボイスを利用可能(ユーザーごと)
  • ユーザーの入退出の読み上げ
  • 単語登録
  • 辞書のインポート・エクスポート

起動方法

  1. Discord Developer Portal でアプリを作成し、トークンを発行する
  2. 招待URLを生成し、サーバーに追加する
    Scopes
    bot
    applications.commands
    
    Bot Permissions
    Read Messages/View Channels
    Send Messages
    Send Messages in Threads
    Embed Links
    Attach Files
    Connect
    Speak
    
    (Permission Integer: 274914659328)
    
  3. .envファイルを用意する
    【.env】
    DISCORD_TOKEN="your_bot_token"
    OWNER_ID="your_user_id"
    
  4. DockerComposeでコンテナを起動する
    docker-compose up -d
    
  5. BOTがオンライン状態になると利用可能です
    まれにVoicevox Engineが正しく起動しないことがあります。その際はコンテナを再起動してください。
  6. 終了方法
    Discord内で/shutdown コマンドを実行してBOTを終了します。
    docker-compose down でコンテナを破棄します。

使い方

/helpコマンドを実行すると一覧が見られます。

Special Thanks

このBOTは OSS版VOICEVOX Engine を利用しています。
y-chan/voicecvox_discord_tts_bot を参考にさせていただきました。

ライセンス

このBOTはLGPLで公開されています

About

VOICEVOXとdiscord.jsを利用した読み上げBOTです

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages