A complete code to download for a discord bot and have a great start out of it ๐ง
Looking for a code for a discord bot with basic handler and basic features ? This fully open source code is made for your project !
If you need help with this project, to get support faster you can join the help server by just clicking here.
If you don't have any development knowledge, it is recommended to join the Discord support server to get help.
Open the configuration file located in the main folder configuration.js
.
/* --- CONFIGURATION --- */
module.exports = {
prefix: ",",
owner: ["ownerid"],
token: "token",
dbd_license: "license", // YOU CAN GET THIS FROM HERE - https://assistantscenter.com/discord-dashboard/v2
client_id: "client_id", // YOU CAN GET THIS FROM HERE - https://discord.com/developers/applications
client_secret: "client_Secret", // YOU CAN GET THIS FROM HERE - https://discord.com/developers/applications
port: port,
domain: "domain",
redirectUri: "/discord/callback",
emoji: {
"play": "โถ๏ธ",
"stop": "โน๏ธ",
"queue": "๐",
"success": "โ๏ธ",
"repeat": "๐",
"error": "โ"
}
}
Basic configuration
token
, the token of the bot available on the Discord Developers sectionowner_id
, You have to get it by enabling the discord developer mode from the DiscordApp.dbl_license
, // YOU CAN GET THIS FROM HERE - Assistants Centerclient_id
, the client id of the bot available on the Discord Developers sectionclient_secret
, the client secret of the bot available on the Discord Developers sectionredirect_uri
, You have to add Redirect URI for the bot available on the Discord Developers section
To use the project correctly you will need some tools.
Node JS (v16.6) for environment
Without forgetting of course the code editor ^^
Realized with โค๏ธ by Akshat Mehta.
Please do not withdraw the license and keep the credits on this project.
To run this project , type in Terminal
node open.js
https://www.youtube.com/watch?v=pwq0sJpi7ZA
If you have any feedback, please reach out to me at our discord server