Skip to content

gage-lodba/Discord-Bot-Base

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

108 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Discord-Bot-Base

A simple discord bot base to serve as a foundation for anyone's discord bot. This project includes examples for commands and events for your discord bot.

Runtime requirements

Compatible with both Bun (>=1.0.0) and Node.js (>=18.0.0) via tsx.

Creating a bot

You can create your bot through the Developer Portal. You will also find your bot token and application id.

Setting up the bot

  1. Provide your bot token and id inside the .env file.
  2. Install dependencies.
  3. Register slash commands.
  4. Start the bot.

Bun

bun install
bun run register:bun
bun run start:bun

Node

npm install
npm run register
npm run start

About

Simple base project for a discord bot.

Topics

Resources

License

Stars

Watchers

Forks

Contributors