From 3f5348e974172a05fc4710b7f3d05963b407627e Mon Sep 17 00:00:00 2001 From: kaliko Date: Wed, 13 May 2020 11:02:07 +0200 Subject: [PATCH] doc: Update README --- README.rst | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/README.rst b/README.rst index 1449a96..3bd1ca5 100644 --- a/README.rst +++ b/README.rst @@ -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() -- 2.39.5