]> kaliko git repositories - sid.git/commitdiff
doc: Update README
authorkaliko <kaliko@azylum.org>
Wed, 13 May 2020 09:02:07 +0000 (11:02 +0200)
committerkaliko <kaliko@azylum.org>
Wed, 13 May 2020 09:02:07 +0000 (11:02 +0200)
README.rst

index 1449a963eb5cca35dba863d80ca89a048cb3c3ab..3bd1ca5bf62c86a276f5b8d2dae3e495f9e75925 100644 (file)
@@ -7,8 +7,9 @@ Getting sid
 
 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::
 
@@ -29,11 +30,14 @@ Here is a plain example::
 
    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()