Skip to content

SirArchibald97/discord-bot-template-v14

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord Bot Template

This is a simple boilerplate template to be used to easily create new Discord bots in under 10 minutes. It uses the latest Discord.js v14 framework, and can be used for any purposes! See below for the simple installation steps.

Installation

It literally only takes 5 steps:

  1. Create a new application on the Discord Developer Portal

  2. Create a repo using this template and clone it to your machine

  3. Open a terminal window in that location and run the command npm install to install the neccessary packages

  4. Create a new file named .env and add two values as shown below

    # your application's token, do NOT share this with anyone
    # this can be found by heading to your application's bot page in the discord developer portal and clicking "reset token"
    # you can then copy and paste the value here
    TOKEN=ABCDEFGHIJKLMNOPQRSTUVWXZY
    
    # the ID of the server you are registering the commands in
    # turn on developer mode in your discord client if you haven't already, and right click your server and press "Copy ID"
    GUILD_ID=123456789
  5. Use node index.js or node . to run the bot

And it's as easy as that!

About

Easily setup Discord bots with Discord.js v14 in under 10 minutes!

Topics

Resources

Stars

Watchers

Forks

Contributors