brew install opus
brew install ffmpeg
sudo apt-get install libopus-dev
sudo apt-get install ffmpeg
npm install discord.js@latest @discordjs/voice@latest fluent-ffmpeg@latest dotenv@latest libsodium-wrappers openai@latest
npm install opusscript [email protected] --legacy-peer-deps
npm install --save speech-to-text
Optionally just use:
npm i
chmod +x refresh.sh
in .env
DEV_MODE=true
This forces a command refresh every run of bot.js