36:d4200e4286b9
Anton Shestakov <av6@dwimlabs.net>, Wed, 04 Apr 2018 00:32:01 +0800
rollbot: random actions on a user-provided snack

previous change 32:0a3444ea4ff4

README.rst

Permissions: -rw-r--r--

Other formats: Feeds:
Rollbot
=======
An XMPP bot that rolls dice and flips coins::
> me: roll 4d20
< rollbot: (14 + 19 + 15 + 17) = 65
> me: flip
< rollbot: heads
So far it has been tested (and works) on Python 2.7 and Python 3.5.
Dependencies
------------
SleekXMPP for the XMPP part, PyYAML for the config parsing part.
Configuration
-------------
Example file to use with ``--config``:
.. code:: yaml
jid: rollbot@example.com
password: hunter2
nick: rollbot
prefix: '!'
These options can be overridden on command line, like ``--nick smartbot``.
License
-------
WTFPL or CC0, pick your favorite.