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

https://github.com/slice/monolith

unfancy discord.js commands
https://github.com/slice/monolith

Last synced: about 1 year ago
JSON representation

unfancy discord.js commands

Awesome Lists containing this project

README

          

# monolith

A sane library for command processing in Discord.js.

```js
const { Monolith } = require('monolith');

let client = new Monolith('!');

client.command('ping', () => 'Pong!');
client.command('user', ({ author: { id, tag } }) => `${id}: ${tag}`);

client.login('...');
```