Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/davealdon/discord-typescript-template
Template to quickly spin up a Discord API v14.3.0 bot using Typescript, Slash commands, and local databases
https://github.com/davealdon/discord-typescript-template
discord discord-bot discord-js nosql typescript
Last synced: 17 days ago
JSON representation
Template to quickly spin up a Discord API v14.3.0 bot using Typescript, Slash commands, and local databases
- Host: GitHub
- URL: https://github.com/davealdon/discord-typescript-template
- Owner: DaveAldon
- Created: 2021-09-14T20:50:50.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-09-07T01:43:25.000Z (over 2 years ago)
- Last Synced: 2025-01-05T14:52:34.995Z (25 days ago)
- Topics: discord, discord-bot, discord-js, nosql, typescript
- Language: TypeScript
- Homepage:
- Size: 122 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Discord Bot Template
This is my template I use to spin up quick Discord bots, complete with the following features ready to go:
- Discord API v14.3.0
- Typescript
- Prettier
- Discord Slash commands (API registration and deletion support)
- Development environment switching
- Local, in-memory database (LokiJS)
- In this example it handles the blocking of commands being run too frequently
- Useful to keep track of state between separate interactions
- Can be easily changed### Installation
1. Create a discord bot
2. Create an `.env` file and populate its fields using the `.env.example` file
3. Run `npm install` and `npm run start`