Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/meloencoding/discordjs-boilerplate
A boilerplate for a discordjs bot
https://github.com/meloencoding/discordjs-boilerplate
discord-bot discord-js typescript
Last synced: 14 days ago
JSON representation
A boilerplate for a discordjs bot
- Host: GitHub
- URL: https://github.com/meloencoding/discordjs-boilerplate
- Owner: MeloenCoding
- Created: 2023-02-09T12:42:18.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-02-20T08:28:59.000Z (almost 2 years ago)
- Last Synced: 2024-11-17T08:47:48.422Z (3 months ago)
- Topics: discord-bot, discord-js, typescript
- Language: TypeScript
- Homepage:
- Size: 77.1 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Discord.js command handler
A boilerplate for a command handeler for a discord bot you could use to create discord bots with ease.## Install
First:
```bash
yarn
```Then:
```bash
yarn dev
```## Config
Create a config.json like this:```json
{
"token": "{your discord bot token here}",
"prefix": ".srpg"
}
```
## Command creation
You can create commands by creating files that export an object like shown in the examples in the commands folder.