Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 18 days 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 (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2022-08-31T20:26:47.000Z (about 2 years ago)
- Last Synced: 2024-10-03T16:15:33.433Z (about 1 month ago)
- Topics: bot-template, discord, discord-bot
- Language: TypeScript
- Homepage:
- Size: 114 KB
- Stars: 33
- Watchers: 4
- 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