- JID = 'bot@example.org'
- NICK = 'sid'
- PASS = getpass.getpass('Password for "{}": '.format(JID))
- ROOM = 'room@conf.example.org'
+ JID = 'bot@example.org'
+ ROOM = 'room@conf.example.org'
+ # Pay attention: if you join the room with the same account/nick,
+ # For instance with a regular interactive client, the bot will
+ # not answer you, it ignores its own messages for obvious reasons.
+ NICK = 'sid'
+ PASS = getpass.getpass(f'Password for "{JID}": ')