Mercurial > prosody-modules
view mod_admin_notify/README.markdown @ 4566:174c7a3c819b
mod_muc_bot: Add option to not send any messages to bots
Useful for write-only bots that don't care about what's said in the
chat.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 24 May 2021 16:18:29 +0200 |
parents | e97c509fdbe3 |
children |
line wrap: on
line source
--- labels: - 'Stage-Alpha' summary: API to notify server admins --- # Introduction This module provides an API for other module developers to send notification messages to host admins. # Configuration None required. # Developers Example: ``` local notify_admins = module:depends("admin_notify").notify; notify("This is an important message for you, admins") ``` # Compatibility Prosody trunk or later. Incompatible with 0.11 or lower.