X-Git-Url: http://git.kaliko.me/?p=sid.git;a=blobdiff_plain;f=bot.py;h=d283db99ff338798409e5b9292b98d11447701d3;hp=49409008b96393892dc6098241d99e743105e6aa;hb=f2f44c64470d0967913feb1bfb9868fa0c7d9e1b;hpb=05082f879f25814b1b9e951b0b9141252f4f0b2d diff --git a/bot.py b/bot.py index 4940900..d283db9 100644 --- a/bot.py +++ b/bot.py @@ -4,7 +4,7 @@ import getpass from sid.sid import MUCBot -from sid.echo import Echo +from sid.ping import Ping from sid.feeds import Feeds JID = 'bot@example.org' @@ -16,6 +16,7 @@ def main(): Feeds.TEMPO = 60 xmpp = MUCBot(JID, PASS, ROOM, NICK) xmpp.register_bot_plugin(Feeds) + xmpp.register_bot_plugin(Ping) # Connect to the XMPP server and start processing XMPP stanzas. if xmpp.connect(): # If you do not have the dnspython library installed, you will need