- All types of interactions supported
- Proper logging system with debug logs in development environment
- Fully typed
- Optional MongoDB support
You'll never have to touch the interactionCreate event, ever again. Supported interactions:
- Slash commands
- All types of select menus
- Modals
- Context menus
- Buttons
git clone https://github.com/mallusrgreatv2/ts-bot-handler.git
npm install
oryarn install
- Copy content of
.env.example
to a new file called .env - Change the values in .env
- Run the dev script for development purposes (enables debug logs), or the start script in production.
- For disabled commands, events, selects, buttons, context menus, or modals, name them
(name).disabled.ts