The Discord bot which plays audio clips on events.
- Install Node.js
- Clone this repository
- Run
npm install
- Create a Discord bot and invite it to your server
- The bot will need the Message Content Intent turned on, as well as the following permissions in the OAuth2 tab:
Send Messages
,Connect
,Speak
.
- The bot will need the Message Content Intent turned on, as well as the following permissions in the OAuth2 tab:
- Create a
.env
file in the root directory and add the following variables:TOKEN
- The bot tokenCLIEND_ID
- The bot client ID/Application IDGUILD_ID
- The ID of the server you want to use the bot in
- Run
node deploy-commands.js
to deploy the slash commands. - Run
npm start
to start the bot.
The bot has a few slash commands:
/join
- Joins the voice channel you are in.