Skip to content

tobycm/typescript-discord-bot-template

Repository files navigation

A robust and comprehensive TypeScript template for your next Discord Bot.

Commands demo

🎉 Features

  • Customizable Prefixes: Tailor the bot's command prefix for each server.
  • Hybrid Commands: Support for various command types with built-in permission handling.
  • Easy Slash Command Deployment: Quickly deploy slash commands with minimal setup.

🛠️ Built-in Tools

  • Database powered by AceBase.
  • Simple cache mechanism using key-value storage with lifespan to keep memory low.
  • Simple slash command deploy method.

🚀 Getting Started

  1. Install dependencies
bun i

or

npm i

(replace bun with npm from now on if you don't have bun)

  1. Init environment
bun run init
code .env

Replace variables with appropriate values. ADMINS is a comma-seperated list.

  1. Run the bot
bun run start

About

A TypeScript Discord bot template with a hybrid command system, simple NoSQL database and more

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •