Microsoft Azure Cognitive Services API (text-to-speech)를 활용한 TTS 디스코드 봇
cd .git/hooks
touch pre-commit
이제 편집기로 pre-commit 에 아래 스크립트를 추가해주세요.
#!/bin/sh
pip3 install -r requirements-dev.txt
pip3 install -r requirements.txt
sh ./scripts/format.sh
sh ./scripts/lint.sh
export ms_key=<your-api-key>
export ZERODAY_TTS_DISCORD_TOKEN=<your-discord-token>
pip3 install -r requirements.txt
# 처음 실행하는 경우
python3 configure.py
python3 start.py
This source code is distributed under the MIT License.