view mod_admin_notify/README.markdown @ 4599:06c9c9ef0a51

mod_invites_register: Fix missing 'from' attribute (thanks Martin) This should probably cause a noisier error in Prosody, than the current > No hosts[from_host] (please report): <stanza> A stack trace would have been useful, for example.
author Kim Alvefur <zash@zash.se>
date Fri, 25 Jun 2021 15:12:46 +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.