A Discord bot that plays audio samples.
Create your own bot on Discord ..... need "bot" and "application.commands" scopes .... need "voice" and "slash commands" permissions.... then:
- Run
git clone https://github.com/PhilboBaggins/audio-samples-discord-bot
- Run
npm install
- Run
cp config.json.sample config.json
- Fill in variables into
config.json
file:- DISCORD_TOKEN
- DISCORD_APP_ID
- DISCORD_GUILD_ID
- Fill in paths to audio files into the AUDIO_FILE_PATHS array
- Run
node deploy-commands.js
- Run
node app.js