Are you new to coding in discord.js ? Then this will help you to start your journey.
Made by @KristabBhattarai
Invite my bot : Order It
For any support of this code Join our discord server. Server link: https://discord.gg/EZDfrer
- Put your own bot token in botconfig.json
- To add any new command you can duplicate any file inside commands folder and rename it to your command name.
- To start coding inside the new .js/command file you made, You can copy any command code and paste it there and edit it.
- All done. For more help and command join our Discord server: https://discord.gg/EZDfrer
botconfig.json
{
"token": "Your bot token",
"prefix": "prefix for your bot"
}Copy and paste below code after creating new .js file inside commands folder!!
const Discord = require("discord.js");
module.exports.run = async (bot, message, args) =>{
//Your codes here
}
module.exports.help ={
name: "command name", //Don't left this empty or same name as other command
aliases: []
}