Creating Discord Bot

🤖 Create a Discord bot with RGB Role, Animated Status & Activity, Join to a Voice Channel, Advanced Ping & Uptime command for response to your members without any handling files and having knowledge in programming (Simply just copy and paste), Hope you Enjoy and Don't forget to star, Made with 🤍 by Masih#0258 (designed in Discord.js V14)

52
7
JavaScript

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.

Finallly 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!

Images

Ping & Uptime Command

Ping Command

Join to a Voice Channel

Join Voice Channel

RGB Role

RGB Role

  • If you have a problem while usign this source make sure your to DM me on Discord: Masih#0258, I will help you and fix your issue ASAP.
  • To get more information of How these codes work? you can simply check official guidelines in: https://discordjs.guide/ website.

Copyright ©: Masih 2022/12/16, All right reserved!