view mod_admin_notify/README.markdown @ 4611:7a9e1c81c63e

mod_watch_spam_reports: Support spam_reporting/abuse-report Now it also notifies for spam_reporting/abuse-report, before it only did for spam_reporting/spam-report
author Martin Dosch <martin@mdosch.de>
date Thu, 01 Jul 2021 21:00:03 +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.