🤖 Create a Discord bot featuring RGB Role, Animated Status & Activity, Auto Voice Channel Join, Advanced Ping & Uptime commands which has written in discord.js v14. Also it’s designed for ease of use—no prior programming knowledge or files handling required. Simply just copy and paste!
Before you get started anything you need to create your NEW Application bot in Discord Developer Portal, Then copy and save your Application Bot’s TOKEN (Please don’t share this with anyone, Because whoever has it will have full access to your bot, for example they can Nuked your server!)
Make sure that your Bot have access to the Intents in the Portal.
Now you need to install JavaScript Environment Run (Node.js) in your Computer, Simply visit the https://nodejs.org and download the version 16.9 or higher, Because the Discord.js V14 is only valid in this version!
After the download is complete, Open your code Editor, I recommend for you to use Visual Studio Code, You can download this Application on your computer in https://code.visualstudio.com
Now Open your Toggle Panel with
CTRL + J
Select the Terminal Option and Type
npm init -y
for creating a place which name is package.json
file to save your modules.
Now you need to install all of required packages/libraries such as Discord.js module with these commands below and waiting for each of them:
npm install discord.js
and then
npm install @discordjs/voice
After the operation was processed with any error, please create a NEW file with
CTRL + Alt + Windows + N
and set the name to anything you want such as: index.js
, bot.js
, main.js
Then Upload the source of this repository along with your personal information for example: botToken
, prefix
, voiceChannelId
and rgbRoleId
in the config.json file.
Finally enter the following command in your terminal to run/executing your file and wait for response in the console log…
node fileName.js
🎉 Congratulations, your bot was successfully online for provide lot’s of amazing features!
Ping & Uptime Command
Join to a Voice Channel
RGB Role (Randomly changes the color of your provided role every 5 minutes)
Copyright ©: Masih 2022/12/16, All right reserved!