Skip to content

拙著「問題解決力を鍛える!アルゴリズムとデータ構造」の補足資料。ソースコードと、章末問題への略解を掲載。

License

Notifications You must be signed in to change notification settings

RalfSakumo/algorithm_solution

Repository files navigation

algorithm_solution

囁き声のように優しい読み上げbot
discordのボイスチャットをvoicevoxで読み上げるためのbotです。

development

create .env file

touch .env

.env_sampleを参考にDiscord botのTokenを書いてください。

use docker-compose

build

docker compose build

run

docker compose up

VSCode devcontainer

VSCodeのDevContainer拡張機能を使用して開発環境を共有しています。
.devcontainerフォルダに設定ファイルがあります。
devcontainer内では以下の方法でアプリケーションを実行できます。

python

python src/main.py

docker compose (docker in docker)

build

docker compose build

run

docker compose up

commands

/join [voice_channel_name]
ボイスチャンネルに接続します。
引数が無い場合はコマンドを入力したチャンネルに接続します。
/bye
ボイスチャンネルから退出します。

クレジット

VOICEVOX
VOICEVOX 公式ページ

About

拙著「問題解決力を鍛える!アルゴリズムとデータ構造」の補足資料。ソースコードと、章末問題への略解を掲載。

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published