Skip to content

A basic TypeScript starter template for Discord bots built on @sapphiredev/framework

Notifications You must be signed in to change notification settings

lorencerri/discord-bot-template

Repository files navigation

discord-bot-template

A basic TypeScript starter template for Discord bots built on @sapphiredev/framework

JavaScript Version

An outdated, although functional JavaScript template is available on the javascript branch. Not recommended.

Database

TODO

Getting Started

git clone https://github.com/lorencerri/discord-bot-template.git # Clone the repo
cd discord-bot-template # Enter the directory
copy .env.example ./src/.env # Copy the .env.example file into the src folder and rename it .env
nano .env # Fill in the .env file
npm install # Install dependencies
npm run build # Build the bot
npm run start # Start the bot

Default Commands

NOTE: These are all slash commands

  • eval
  • reload (NOTE: Reloading slash commands is typically buggy)
  • ping

About

A basic TypeScript starter template for Discord bots built on @sapphiredev/framework

Topics

Resources

Stars

Watchers

Forks