⚠ But, this is a licensed repository so make sure to give me credit for my code!
~ If you are new, then i suggest you go and check out the official discord.js guide https://discordjs.guide/ to get started, then you can come back here!
~ For the documentation of the discord.js library refer to https://discord.js.org/ !
To run a bot on your computer you would require the following things:-
1) Node.js and Node Pakage Manager (version 12 or higher)
~ To install this go to the Node.js Website.
2) Discord.js (version 12)
~ To install discord.js, simply run the npm install discord.js
in your console of your project folder.
For a detaled description of this refer to this link.
~ Make sure to complete the .env
file with your appropriate information.
~ For setting up MongoDB database refer to this video and this video.
~ Run npm install
in your console to install all the npm pakages required!
~ If you are having issues with how to get started or installation, then drop an issue in this repository!
~ If you have a feature request or want to suggest me something then please go ahead and open an issue in this repository!
Add a new javascript file in the folders present in the commands folder! The basic commands layout is-
module.exports = {
name: "Command name",
permissions: ["array", "of", "permissions"],
args: boolean,
aliases: ["array", "of", "aliases"]
category: "Category name",
description: "Command description"
usage: "[args input]",
run: async (client, message, args, prefix) => {
The code in here to execute
}
}