More documentation!

Finished the echo bot quickstart.

Added placeholders for other guides we need.
This commit is contained in:
Lance Stout
2011-08-13 20:58:53 -07:00
parent 9fdd85d9f1
commit 01061a0355
15 changed files with 573 additions and 316 deletions

View File

@@ -76,7 +76,8 @@ class EchoBot(sleekxmpp.ClientXMPP):
for stanza objects and the Message stanza to see
how it may be used.
"""
msg.reply("Thanks for sending\n%(body)s" % msg).send()
if msg['type'] in ('chat', 'normal'):
msg.reply("Thanks for sending\n%(body)s" % msg).send()
if __name__ == '__main__':