https://github.com/lorencerri/discord-bot-template
A basic TypeScript starter template for Discord bots built on @sapphiredev/framework
https://github.com/lorencerri/discord-bot-template
bot-template discord discord-bot
Last synced: about 1 month ago
JSON representation
A basic TypeScript starter template for Discord bots built on @sapphiredev/framework
- Host: GitHub
- URL: https://github.com/lorencerri/discord-bot-template
- Owner: lorencerri
- License: mit
- Created: 2018-11-13T23:29:43.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-08-31T20:26:47.000Z (almost 3 years ago)
- Last Synced: 2025-04-23T23:09:52.585Z (about 1 month ago)
- Topics: bot-template, discord, discord-bot
- Language: TypeScript
- Homepage:
- Size: 114 KB
- Stars: 34
- Watchers: 3
- Forks: 10
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### discord-bot-template
A basic TypeScript starter template for Discord bots built on [`@sapphiredev/framework`](https://github.com/sapphiredev/framework)
### JavaScript Version
An outdated, although functional JavaScript template is available on the _`javascript`_ branch. **Not recommended.**
### Database
_TODO_
### Getting Started
```bash
git clone https://github.com/lorencerri/discord-bot-template.git # Clone the repo
cd discord-bot-template # Enter the directory
copy .env.example ./src/.env # Copy the .env.example file into the src folder and rename it .env
nano .env # Fill in the .env file
npm install # Install dependencies
npm run build # Build the bot
npm run start # Start the bot
```### Default Commands
> **NOTE:** These are all slash commands
- eval
- reload (**NOTE:** Reloading slash commands is typically buggy)
- ping