These instructions will help you set up a local copy of the project for development and testing purposes.
Below is an example of how you can set up the DiscordJS Bot Template for your Project:
-
Clone the Repository
Open your terminal and run the following command to clone the repository to your local machine:git clone https://github.com/NoSkill33/DiscordJS-Bot-Template.git
-
Navigate to the Project Directory
Change to the directory where the bot was cloned:cd discordjs-bot-template
-
Install Dependencies
Ensure you have Node.js and npm (Node Package Manager) installed. Then, install the necessary packages by running:npm install
-
Configure the Bot
Open the configuration file located at config/config.json and customize the settings according to your preferences. You can set the bot's name, log channel, and other important configurations there. -
Start the Bot
To start the bot, navigate to the main directory of your project and run the following command:node bootstrap.js
Caution
Important: Please refrain from sharing your Discord bot token! Sharing your token can give unauthorized users complete control over your bot. To keep your token secure, store it safely in a .json file.
- NoSkill - Created the initial version of the template and is actively working on improving the bot.
See also the list of contributors who have contributed to this project.