@half-elf/ranger
v0.3.0
Published
Discord chatbot for various d20 utility.
Downloads
9
Readme
Ranger
Discord chatbot for d20 utility.
Commands
/roll
Highly functional roll command that accepts several useful arguments. Use -v
or verbose
to cover all at once.
Usage
const { RangerClient } = require('@half-elf/ranger');
const client = new RangerClient({
owner: 'your discord id',
commandPrefix: '/',
/* other options... */
});
client.registerDefaults({ roll: true, inheritedDefaults: true });
client.login('your discord bot token');
Documentation
This project uses discord.js
with discord.js-commando
as a base, and most configurations are inherited.