Skip to content
This repository has been archived by the owner on Apr 28, 2023. It is now read-only.

A ready made template for using a Discord bot with advanced commands/events handlers already created

Notifications You must be signed in to change notification settings

ThatSameer/discord-bot-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

discord-bot-template

A ready made template for using a Discord bot with advanced commands/events handlers already created.

Description

PLEASE NOTE THIS DISCORD BOT METHOD IS NOW OLD. SLASH COMMANDS ARE NOW PREFERRED.

This template was made using CodeLyon's method of advanced commands/events handlers.

Getting Started

Dependencies

Installing

  1. Install the 'Current' Node.js from https://nodejs.org
  2. Clone/fork this repo using your preferred method e.g.
git clone https://github.com/ThatSameer/discord-bot-template.git

NEW: You can now click the big green 'Use this template' button at the top of this repo!

  1. Install the Discord node module by running this within the projects folder
npm install discord.js

Note: Remember to switch on both Privileged Gateway Intents for your Discord bot in your Discord Developer Portal

Using this template

  • In the index.js file, assign your Discord bot token to 'token' using your preferred method. It is generally not recommended to store your token in plain text. Treat your token like your password!
client.login(token)
  • The main area of interest will be the commands and events folders. Some examples are already included

Help

Authors

tbc

Version History

tbc

License

tbc

Acknowledgments

tbc

About

A ready made template for using a Discord bot with advanced commands/events handlers already created

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published