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

https://github.com/trevormellon/diceman

Discord message bot providing a way to roll dice, suitable for roleplaying
https://github.com/trevormellon/diceman

bot dice dice-roller discord dungeons-and-dragons english nodejs portuguese

Last synced: 6 months ago
JSON representation

Discord message bot providing a way to roll dice, suitable for roleplaying

Awesome Lists containing this project

README

          

# Discord: Diceman-Bot

Basic discord message bot that handles throwing dice and returning the result.

# Requirements

* node.js

Call by running from the commandline:

> node bot.js

You will need to create a file ".env" and place your bot's private key in there. Do that by copying the provided file "env" and editing.

# Functions

### English

* !help = Responds to the generic command
* /help = Responds to the generic command
* !diceman help = Gives an overview of the available commands
* !roll = Rolls a dice using format "!roll [Dice Side] [Amount of Rolls]"
* !dice = Uses dice notation, for example "!dice 3d6" or "!dice 4d12+10"

### Portugeuse

* !ajuda = Responde ao comando genérico
* /ajuda = Responde ao comando genérico
* !diceman ajuda = Fornece uma visão geral dos comandos disponíveis
* !diz = Usa notação de dados, por exemplo "!diz 3d6" ou "!diz 4d12+10"