Skip to content

My go-to template for building Discord bots with TypeScript & discord.js

License

Notifications You must be signed in to change notification settings

Sans3108/TypeScript-Discord-Bot

Repository files navigation

TypeScript-Discord-Bot

CodeQL

My go-to template for building Discord bots with TypeScript & discord.js

Requirements

  • NodeJS
    This project was tested with version 20.10.0 however any recent LTS version should work.
  • pnpm
    Or otherwise your favorite package manager.
  • Some knowledge of how to run a Discord bot.

How to use

  • Click on the Use this template button and create a new repository with your desired name.
  • Clone your brand new repository, open it in your IDE of choice and start editing.
  • When you are ready to run your bot:
    • Copy and paste .env.example, rename it to .env and replace the values inside with your environment variables.
    • Run pnpm build and pnpm start, and your bot should be online.
      Instead of pnpm use your package manager.

Contributing

  • There are no real guidelines for contributing, the only thing that must be done however, is making sure the prettier script is ran before opening a pull request.

To-Do's:

  • Add better documentation.
  • Simplify some parts of the code and add comments.

About

My go-to template for building Discord bots with TypeScript & discord.js

Topics

Resources

License

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •