Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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.