> ## Documentation Index
> Fetch the complete documentation index at: https://docs.melonly.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Off-Duty Commands Alert

> Alert your team when staff use moderation commands in ER:LC while off shift.

***

## What are Off-Duty Command Alerts?

Off-Duty Command Alerts tell your team when a staff member runs a moderation command while they're not on shift. Melonly posts an alert in a Discord channel you choose, which helps you catch misuse and keep staff to your shift rules.

<Info>
  Requires a **Webhook Channel** in [Webhook Configuration](/Dashboard/erlcintegration/webhook/webhookconfig).
</Info>

***

## How Off-Duty Alerts Work

When a staff member runs a command, Melonly checks whether they're on shift. If they aren't, it posts an alert and pings the roles you pick. Commands and roles on your allow lists never trigger an alert.

***

## Configuration Options

Find **Off-Duty Commands Alert** on the **ER:LC Integration → Webhooks** page. The other settings appear once you turn on the toggle.

| Setting | Description |
| - | - |
| Enable Off-Duty Commands Alert | Turns the feature on or off |
| Only Alert During an Active Session | Skips alerts while no Melonly session is running, including after shutdown. Alerts resume when a new session starts. |
| Alert Channel | The Discord channel alerts are sent to, usually a staff channel |
| Mention Roles in Alert | Up to 5 Discord roles pinged on each alert |
| Allowed Commands | Commands staff can use off duty without an alert, such as `:refresh` or `:respawn` |
| Allowed Roles | Melonly roles that never trigger alerts, such as senior staff |

Click the icon next to **Alert Channel** to customize the alert message. This requires [Melonly Plus](https://melonly.xyz/plus).

<Frame caption="Off-Duty Commands Alert settings">
  <img className="block" src="https://mintcdn.com/melonly/lEOimPXEDE-NzFj7/images/Dashboard/ERLCIntegration/offdutycmdalertsimg.png?fit=max&auto=format&n=lEOimPXEDE-NzFj7&q=85&s=7c32f494887b6673fb39f83b0fcae53a" alt="" style={{ borderRadius: '0.75rem' }} width="1896" height="927" data-path="images/Dashboard/ERLCIntegration/offdutycmdalertsimg.png" />
</Frame>

***

## Example Use Cases

* Notify supervisors when staff use moderation commands off shift
* Make sure staff follow your shift rules
* Let harmless commands through without an alert

***

<Card title="Need help?" icon="headset" href="https://melonly.xyz/discord">
  Still have questions? Join our Discord server for support from the Melonly Team.
</Card>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.