This project is a clean Discord bot base, created using Discord.js v13.6.0. It features a Talent Perm system.
- Talent Perm System: If you enter "OWNER" in
permissions
, only the bot owner can use it, and if you enter individual ids, the specified id, server administrator, and bot owners can use it. - Channel Restrictions: In
_channels.js
, you can restrict commands to specific channels by entering the channel id. If you do not enter any id, the commands will be available in all channels. - Custom Commands: In
talentPerms.json
, you can add commands like.vip
,.elite
.
module.exports = {
name: "",
aliases: [],
description: "",
permissions: [],
category: [],
active: true,
/**
* @param {Client} client
*/
onLoad: function (client) {
},
/**
* @param {Client} client
* @param {Message} message
* @param {Array<String>} args
*/
onRequest: async function (client, message, args) {
}
};
In this section, you will find the necessary steps to run the project on your local machine.
- Node.js
- npm
- A Discord Bot
- Clone the project:
git clone /~https://github.com/kedyjs/discord.js-v13-main
- Navigate to the project directory:
cd <project-directory>
- Install the required npm packages.
npm install
- Start the bot
npm start