Skip to content
/ example-bot Public template

A template for creating Discord bots using TypeScript and Discord.js

License

Notifications You must be signed in to change notification settings

commandrod/example-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example Bot

Example Bot is a project that I created to make the process of creating discord bot easier for me. To create a new Discord Bot, I simply clone this repository which includes Command and Listener handling, utility classes, and more.

Dependencies:

  • yarn - My preferred package manager, used as an npm alternative.
  • typescript - Needed to run TypeScript (since discord.js isn't supported by deno).
  • ts-node - Helps me test the bot without needing to build it. Only used in testing, not in production.
  • discord.js - Used for easily interacting with Discord's API using OOP.

How to use:

  • Clone the repository.
  • Run yarn install or npm install to install the dependencies.
  • Change the token in config.json with your bot token.
  • Run yarn dev or npm run dev when testing, and yarn start or npm run start in production.