A Simple Music Bot
- Node.js v18.4 or higher
- a discord bot token
- ffmpeg
- a basic understanding of javascript + dotenv
First install all the dependanices by running npm i
in cmd
Next make a file called .env
and insert
TOKEN=discord bot token goes here
After that go to index.js
and replace
const CLIENT_ID = "888582057452785685" // Replace with your Bot ID
const GUILD_ID = "812765735645347911" // Replace with your Server ID
With your own Bot and Server IDs
Finally run node . load
then node .
to run the bot and You'll see Logged in as {your discord bot tag}
If you have an intents error, please enable all intents in your discord developer portal. Example:
Also update the packages every once in a while.
If you still need help visit my discord server
Or Ask on StackOverflow ¯\_(ツ)_/¯