Skip to content

EpicCarlito/discordjs-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord.js Typescript Template

A bare-bones Discord.js v14 template that lets you create a basic Discord bot with a command, event, button, and modal handler.

Features

  • Interactions handler
  • Discord Bot's Presence Changes (Every five minutes)

Recommendations

  • Install Node.js.
  • Install PNPM.
  • Install ESLint Extension for your IDE.

Installation

  1. Clone the repository by running the command git clone https://github.com/EpicCarlito/discordjs-template.
  2. Navigate to the template's directory and run the command pnpm install (make sure pnpm is installed).
  3. Once all the modules are installed, open the .env file and fill in your discord bot's secret and ID.
  4. Run the command pnpm run dev to start the bot.
  5. You may modify the code to create interactions and features.

Useful Resources

Some links are included in the code if you want more specific resources.