mod_admin_notify/README.markdown
author Kim Alvefur <zash@zash.se>
Thu, 29 Feb 2024 18:00:01 +0100
changeset 5852 593312fedfe1
parent 4242 e97c509fdbe3
permissions -rw-r--r--
mod_muc_moderation: Fix example

---
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.