PLEASE BACKUP YOUR BOT PROJECT FOLDER WE NEVER KNOW IF SOMETHING GOES WRONG ESPECIALLY DISCORD.JS V12.1.1 MIGHT BREAK YOUR BOT SO PLEASE BACK UP YOUR BOT FOLDER.
If you're too lazy to backup your bot folder, Atleast backup these files: Data Folder, Actions Folder
- Install Node.js V12.6.1 here
- Install it by running
npm i discord.js
in your console.
- Install it by running
npm i ytdl-core
in your console.
- Install it by running
npm i ytsr
in your console.
- Install it by running
npm i ytpl
in your console.
- Install it by running
npm i canvas
in your console.
- Install it by running
npm i opentype.js
in your console.
- Download the actions folder from above.
- Copy and paste the actions folder to your bot's folder (Make sure to backup previous actions folder).
- Copy the bot_v12.js file to your bot's folder
Since dbm doesn't support Discord.js V12.1.1 you'll have to run the bot through Command prompt.
This process requires NodeJS to be installed on your computer.
To run the bot in the Command Prompt, follow these steps:
1 - Inside DBM: Press Project -> Open Project Directory
2 - Inside the Project Directory: Click the address bar at the top and delete everything in it
3 - Type cmd and press enter
4 - Inside the Command Prompt: Type: node bot_v12.js
Since DBM overwrites bot.js file we'll be using bot_v12.js... so instead of typing node bot.js
in command prompt you'll have to type node bot_v12.js
.