Skip to content

Instantly share code, notes, and snippets.

@decentral1se
Created January 13, 2021 22:11
Show Gist options
  • Save decentral1se/8528709dfcded8556cf2751de2bd1bbe to your computer and use it in GitHub Desktop.
Save decentral1se/8528709dfcded8556cf2751de2bd1bbe to your computer and use it in GitHub Desktop.
bot kick and re-join debug logs
DEBUG RECV: <presence to="[email protected]/i8Q_SREy" type="unavailable" from="[email protected]/echobot" id="7ad540580b6e41eead4f6a76b78a3ed2"><x xmlns="http://jabber.org/protocol/muc#user"><status code="307" /><item role="none" jid="[email protected]/i8Q_SREy" affiliation="member"><actor nick="foobar" /></item><status code="110" /></x></presence>
DEBUG MUC presence from [email protected]/echobot : {'lang': '', 'nick': 'echobot', 'role': 'none', 'jid': '[email protected]/i8Q_SREy', 'status_codes': {307, 110}, 'room': '[email protected]', 'affiliation': 'member', 'status': '', 'show': None, 'alt_nick': ''}
DEBUG Event triggered: groupchat_presence
DEBUG Event triggered: muc::[email protected]::presence
DEBUG Event triggered: muc::[email protected]::got_offline
DEBUG RECV: <message to="[email protected]" id="77f41bca-c25e-4046-ace8-4552afef3101" from="[email protected]"><x xmlns="http://jabber.org/protocol/muc#user"><invite from="[email protected]/dino.68992a39"><reason /></invite></x><body>[email protected]/dino.68992a39 invited you to the room [email protected]</body><x xmlns="jabber:x:conference" jid="[email protected]" /><stanza-id xmlns="urn:xmpp:sid:0" id="b97f3cc2-4cc1-4c7e-aa86-581e7f524e7f" by="[email protected]" /></message>
DEBUG Event triggered: message
DEBUG SEND: <message type="chat" to="[email protected]" id="f9f53ca613584a4d9e8421fc7605ca63" xml:lang="en"><origin-id xmlns="urn:xmpp:sid:0" id="f9f53ca613584a4d9e8421fc7605ca63" /><body>[email protected]/dino.68992a39 invited you to the room [email protected]</body></message>
DEBUG RECV: <message to="[email protected]/i8Q_SREy" from="[email protected]" type="error" id="f9f53ca613584a4d9e8421fc7605ca63"><error type="cancel"><service-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /></error></message>
DEBUG Event triggered: message_error
DEBUG Event triggered: groupchat_message_error
DEBUG Event triggered: muc::[email protected]::message_error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment