29:c04a4faec835
Anton Shestakov <av6@dwimlabs.net>, Wed, 20 Jul 2016 00:32:32 +0800
rollbot: no need to wait for MUCs If a user sends groupchat message to a room while the bot is still in the process of joining that room, the message will not be handled. And it shouldn't be, because the bot is not there yet! So there's no point in blocking the current thread on joining MUCs. Additionally, using wait=True triggers a warning: "Use of send mask waiters is deprecated." (from XMLStream.send)

next change 32:0a3444ea4ff4
previous change 22:5a13f638a6ef

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