The first step you have to do is download this repository, or you can also use it fork,
However, make sure you have installed the latest version of NodeJS, or minimum version 16
git clone https://github.com/FuadJTM/basic-discord.js-v14.git
after that you can start changing files starting from ./src/settings/config.js
code example
const config = {
BOT_TOKEN: process.env.BOT_TOKEN || "bot token here",
DEFAULT_PREFIX: process.env.DEFAULT_PREFIX || "!",
DEVELOPER: ["626413361185292xxx", "588422194711756xxx", "your discord ID"],
OWNER: "626413361185292xxx",,
INVITE: process.env.INVITE || "bot invite url",
SUPPORT: process.env.SUPPORT || "your official serverURL"
}
const color = {
normal: "BBDEFB",
wrong: "FB3A51",
check: "4BFB8D"
}
module.exports = { config, color }
However, for tokens I would suggest you keep them in .env
As a human, I hope everything is safe, but there's no harm in being careful :)
BOT_TOKEN=
DEFAULT_PREFIX=
INVITE=
SUPPORT=
So what's next?
next you just need to type node .
on your terminal, and the bot is ready to use
Yes, below is an image of the help command
This is the initial menu you use commands /help
and this is when you have selected the category
This is the initial menu you see after using the !help
command
and this is after you use the detail command
If you find errors in this repository, you can write your problem here
hey guys, looks like the bot is active, but don't forget to press the star button above okay?