Skip to content

schblondie/discord.js-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

discord.js-template

A simple discord.js template
Make sure to ⭐ this repository if you found it useful

Getting Started

You need to install Node.js and Git
You can use Visual Studio Code to edit the code
Please create a .env file in the root directory and add the following keys to it

TOKEN=Your Discord Bot Token
TEST_GUILD_ID=Your Test Guild Id

How to get your bot token
How to get your guild ID

Development

Run the following command in the terminal once to install the dependencies

npm install

Run the following command in the terminal to start the bot

npm run dev

You can run the following command to interactively add interaction and event files to the directory

npm run add

Production

Run the following command in the terminal to automatically install the dependencies and start the bot

npm run start

Useful Links

BetterComments - see comments with colors
Discord.js Docs
Discord.js Guide
Discord.js Discord

License

This repository is licensed under the MIT License - see the LICENSE file for details
This repository is not affiliated with Discord or Discord.js