/Discord.JS-Template

Primary LanguageJavaScriptMIT LicenseMIT


Discord.JS Template
Discord.JS Template

A simple, yet effective Discord Bot template using Discord.JS.

node.js discord.js Discord

Key FeaturesHow To UseCreditsLicense

screenshot

Key Features

  • Commands Handler
    • aliases, permissions
  • Slash Commands Handler
    • options, choices, autocomplete, permissions
  • Events Handler
    • ready, messageCreate, interactionCreate, guildCreate, guildDelete
  • Button, Modal and Select Menu Handler
    • custom ID, permissions
  • Permission Handler
    • commands, slash commands
  • Cooldowns (No Database)
  • Detailed Logging

How To Use

To clone and run this application, you'll need Git and Node.js (which comes with npm) installed on your computer. From your command line:

# Clone this repository
$ git clone https://github.com/HimejiDev/Discord.JS-Template

# Go into the repository
$ cd Discord.JS-Template

# Install dependencies
$ npm install

Before running the app, you need to create a .env file in the root directory and fill it with the following:

TOKEN=
CLIENT_ID=
GUILD_ID=

Leave the GUILD_ID blank if you want to register slash commands globally.

Once you've done that, you can run the app with the following command:

$ npm start

Credits

This repository is forked from Nathaniel-VFX/Discord.js-v14-Command-Handlers

This software uses the following open source packages:

You may also like...

License

MIT


himeji.dev  ·  GitHub @HimejiDev  ·  Twitter @H1meji