2 # -*- coding: utf-8 -*-
6 from sid.sid import MUCBot
7 from sid.ping import Ping
8 from sid.feeds import Feeds
10 JID = 'bot@example.org'
12 PASS = getpass.getpass(f'Password for "{JID}": ')
13 ROOM = 'room@conf.example.org'
17 xmpp = MUCBot(JID, PASS, ROOM, NICK)
18 xmpp.register_bot_plugin(Feeds)
19 xmpp.register_bot_plugin(Ping)
23 except KeyboardInterrupt:
24 xmpp.shutdown_plugins()
28 if __name__ == '__main__':
32 # vim: ai ts=4 sw=4 sts=4 expandtab