2020-05-27 02:23:18 +10:00
|
|
|
# znc-xmpp-notify
|
|
|
|
|
2020-05-27 02:52:01 +10:00
|
|
|
ZNC module to notify of pings over XMPP.
|
|
|
|
|
|
|
|
## Dependencies
|
|
|
|
|
|
|
|
- ZNC modpython
|
|
|
|
- sendxmpp
|
|
|
|
|
|
|
|
## Setup
|
|
|
|
### Set up sendxmpp (administrator)
|
|
|
|
|
|
|
|
1. Create an XMPP account for your ZNC instance's notification bot.
|
|
|
|
2. Put the JID and password in ~/.sendxmpprc in the format `<user@host> <password>`
|
|
|
|
3. Make sure modpython is available
|
|
|
|
|
|
|
|
### Set up module (user)
|
|
|
|
|
|
|
|
1. This may not be necessary, but load modpython: `/msg *status loadmod modpython`
|
|
|
|
2. Load xmppnotify.py, with your preferred JID as the argument: `/msg *status loadmod xmppnotify <user@host>`
|
|
|
|
3. Enjoy.
|
|
|
|
|