https://github.com/tobycm/typescript-discord-bot-template
A TypeScript Discord bot template with a hybrid command system, simple NoSQL database and more
https://github.com/tobycm/typescript-discord-bot-template
Last synced: 4 months ago
JSON representation
A TypeScript Discord bot template with a hybrid command system, simple NoSQL database and more
- Host: GitHub
- URL: https://github.com/tobycm/typescript-discord-bot-template
- Owner: tobycm
- License: mit
- Created: 2024-08-15T19:12:12.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-08-31T05:42:13.000Z (10 months ago)
- Last Synced: 2025-02-28T23:20:15.500Z (4 months ago)
- Language: TypeScript
- Homepage:
- Size: 81.1 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# A robust and comprehensive TypeScript template for your next Discord Bot.

## 🎉 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](https://github.com/appy-one/acebase).
- **Simple cache** mechanism using key-value storage with lifespan to keep memory low.
- **Simple slash command deploy method**.## 🚀 Getting Started
1. **Install dependencies**
```sh {"id":"01J6KF2SNARAPZS0DW9AVGR6SS"}
bun i
```or
```sh {"id":"01J6KF2SNARAPZS0DW9C4206KX"}
npm i
```(replace bun with npm from now on if you don't have bun)
2. **Init environment**
```sh {"id":"01J6KF2SNARAPZS0DW9EHDN42T"}
bun run init
code .env
```Replace variables with appropriate values. `ADMINS` is a comma-seperated list.
3. **Run the bot**
```sh {"id":"01J6KF2SNARAPZS0DW9JAS41M0"}
bun run start
```