Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mallusrgreatv2/ts-bot-handler
Type-safe Discord.js v14 bot base with all interactions & event handler
https://github.com/mallusrgreatv2/ts-bot-handler
base discord discord-bot discordjs djs djs-starter djs-v14 javascript js starter ts typescript v14-discord-bot-template v14-js
Last synced: 2 months ago
JSON representation
Type-safe Discord.js v14 bot base with all interactions & event handler
- Host: GitHub
- URL: https://github.com/mallusrgreatv2/ts-bot-handler
- Owner: mallusrgreatv2
- License: mit
- Created: 2024-02-26T15:47:05.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-09-09T20:46:18.000Z (3 months ago)
- Last Synced: 2024-09-29T08:42:42.558Z (3 months ago)
- Topics: base, discord, discord-bot, discordjs, djs, djs-starter, djs-v14, javascript, js, starter, ts, typescript, v14-discord-bot-template, v14-js
- Language: TypeScript
- Homepage:
- Size: 153 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Typescript Bot Handler
## Features
- All types of interactions supported
- Proper logging system with debug logs in development environment
- Fully typed
- Optional MongoDB supportYou'll never have to touch the interactionCreate event, ever again.
Supported interactions:- Slash commands
- All types of select menus
- Modals
- Context menus
- Buttons## Setup
1. `git clone https://github.com/mallusrgreatv2/ts-bot-handler.git`
2. `npm install` or `yarn install`
3. Copy content of [`.env.example`](https://github.com/mallusrgreatv2/ts-bot-handler/blob/master/.env.example) to a new file called .env
4. Change the values in .env
5. Run the dev script for development purposes (enables debug logs), or the start script in production.## Rules
- For disabled commands, events, selects, buttons, context menus, or modals, name them `(name).disabled.ts`