Currently unreleased, only a development version is available.
-* http: https://kaliko.me/sid/
-* git: http://git.kaliko.me/?p=sid.git
+* doc: https://kaliko.gitlab.io/sid/
+* git: https://gitlab.com/kaliko/sid.git
+* issue: https://gitlab.com/kaliko/sid/-/issues
Get the source with git::
JID = 'bot@example.org'
NICK = 'sid'
- PASS = getpass.getpass('Password for "{}": '.format(JID))
+ PASS = getpass.getpass(f'Password for "{JID}": ')
ROOM = 'room@conf.example.org'
+ # Instanciate the bot
xmpp = MUCBot(JID, PASS, ROOM, NICK)
+ # Register a plugin
xmpp.register_bot_plugin(Ping)
+
# Connect to the XMPP server and start processing XMPP stanzas.
try:
xmpp.connect()