2.11.0 • Published 8 years ago

discord-rpbot v2.11.0

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

Discord RPBot

Discord Downloads Version Dependency status License

This is a simple Discord bot that contains commands useful for roleplaying. It is built with GRAF.

Have any questions/feedback? Join the Discord server. If you find any bugs or have suggestions, feel free to create an issue.

Install

Global bot

Add the bot to your server

Your own instance

You must be running Node.js 6.0.0 or newer.
Run sudo npm install -g discord-rpbot --production --no-optional.

Note: Anonymous analytics are enabled by default. There is no identifiable or potentially private/unsafe information sent whatsoever. The only things that are being shared is the name of commands being run (no message contents), and an event for the bot starting up. This is so that I know how many people are using the bot, and what commands are being used the most. If you don't want anything being sent at all, run RPBot with the --no-analytics option, or set analytics to false in your config file.

Chat commands

See GRAF's command documentation for information about its built-in commands, and how to use commands.

CommandDescription
rollRolls specified dice. (Uses dice-expression-evaluator)
maxrollCalculates the maximum possible roll for a dice expression.
minrollCalculates the minimum possible roll for a dice expression.
characterViews a character's information.
charactersLists/searches characters in the database.
addcharacterAdds a character to the database, or updates the existing one.
deletecharacterDeletes a character from the database.

Usage

Run rpbot --help for detailed usage, options, and examples.

Configure

Configuration can be specified on the command line, or in a JSON or YAML config file. Specify the config file with --config path/to/config.yml. The settings:

SettingDescription
tokenAPI token for the bot account
emailEmail of the Discord account for the bot to use (not needed if using token)
passwordPassword of the Discord account for the bot to use (not needed if using token)
databasePath to SQLite3 database file
database-verboseWhether or not SQLite3 should be put into verbose mode
storagePath to the storage directory
ownerDiscord user ID of the bot owner
inviteDiscord instant invite to a server to contact the owner
playing-gameText to show in the "Playing..." status
pagination-itemsNumber of items per page in paginated commands
update-checkHow frequently to check for an update (in minutes - use 0 to disable)
analyticsWhether or not to enable anonymous, non-unique, non-identifiable analytics
auto-reconnectWhether or not the bot should automatically reconnect when disconnected
command-prefixDefault command prefix (blank to use only mentions)
command-editableHow long a command message is editable (in seconds, use 0 to disable)
non-command-editWhether or not a non-command message can be edited into a command
logPath to the log file to output to
log-max-sizeMaximum size of a single log file (in bytes)
log-max-filesMaximum log files to keep
log-levelLog level to output to the log file (error, warn, info, verbose, message, debug)
console-levelLog level to output to the console (error, warn, info, verbose, message, debug)
log-messagesWhether or not all chat messages should be logged

For a more detailed list of configuration values, use rpbot --help.

2.11.0

8 years ago

2.10.1

8 years ago

2.10.0

8 years ago

2.9.0

8 years ago

2.8.0

8 years ago

2.7.3

8 years ago

2.7.2

8 years ago

2.7.1

8 years ago

2.7.0

8 years ago

2.6.1

8 years ago

2.6.0

8 years ago

2.5.5

8 years ago

2.5.4

8 years ago

2.5.3

8 years ago

2.5.2

8 years ago

2.5.1

8 years ago

2.5.0

8 years ago

2.4.2

8 years ago

2.4.1

8 years ago

2.4.0

8 years ago

2.3.1

8 years ago

2.3.0

8 years ago

2.2.0

8 years ago

2.1.1

8 years ago

2.1.0

8 years ago

2.0.6

8 years ago

2.0.5

8 years ago

2.0.4

8 years ago

2.0.3

8 years ago

2.0.2

8 years ago

2.0.1

8 years ago

2.0.0

8 years ago

1.20.0

8 years ago

1.19.1

8 years ago

1.19.0

8 years ago

1.18.2

8 years ago

1.18.1

8 years ago

1.18.0

8 years ago

1.17.1

8 years ago

1.17.0

8 years ago

1.16.1

8 years ago

1.16.0

8 years ago

1.15.0

8 years ago

1.14.1

8 years ago

1.14.0

8 years ago

1.13.3

8 years ago

1.13.2

8 years ago

1.13.1

8 years ago

1.13.0

8 years ago

1.12.2

8 years ago

1.12.1

8 years ago

1.12.0

8 years ago

1.11.0

8 years ago

1.10.2

8 years ago

1.10.1

8 years ago

1.10.0

8 years ago

1.9.1

8 years ago

1.9.0

8 years ago

1.8.2

8 years ago

1.8.1

8 years ago

1.8.0

8 years ago

1.7.0

8 years ago

1.6.1

8 years ago

1.6.0

8 years ago

1.5.1

8 years ago

1.5.0

8 years ago

1.4.0

8 years ago

1.3.0

8 years ago

1.2.0

8 years ago

1.1.2

8 years ago

1.1.1

8 years ago

1.1.0

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago

0.5.0

8 years ago

0.4.0

8 years ago

0.3.2

8 years ago

0.3.1

8 years ago

0.3.0

8 years ago

0.2.1

8 years ago

0.2.0

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago