37:12b23bcac84b default tip
Anton Shestakov <av6@dwimlabs.net>, Wed, 04 Apr 2018 16:31:34 +0800
rollbot: actually set html body "Good" commit: https://github.com/fritzy/SleekXMPP/commit/648b03f81172829cae65f6ac9fc551e049310501 "Bad" commit: https://github.com/fritzy/SleekXMPP/commit/afc939708ff71e168f9204f1eab8823b7dc9f875#diff-5a3a55704faa3b6b84a4acd7ca6dd6f0 The former is why you need to explain code like that, the latter is why you need to run annotate first (and split commits).

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.