> For the complete documentation index, see [llms.txt](https://docs.onelitefeather.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.onelitefeather.net/antiredstoneclock-remastered/how-to-guides/send-alerts-to-discord.md). Agents can also search and read this documentation through its [MCP server](https://docs.onelitefeather.net/~gitbook/mcp).

# Send alerts to Discord

Post a message into a Discord channel every time a redstone clock is detected.

**Before you start:** you need permission to create a webhook in the target Discord channel.

1. In Discord, open *Channel Settings → Integrations → Webhooks*, create a webhook and copy its URL.
2. Open `plugins/AntiRedstoneClock-Remastered/config.yml` and paste the URL into `notification.discord.webhook`.
3. Make sure `discord` is listed under `notification.enabled`.
4. Apply the change:

   ```
   /arcm reload
   ```

## Check it worked

Build a redstone clock somewhere the plugin is watching. An embed appears in the Discord channel naming the world and the coordinates.

## If it does not work

If the webhook URL cannot be parsed, the plugin **disables itself** on startup and writes `Failed to create webhook client` to the server log. Check the URL, then restart the server — a `/arcm reload` cannot bring a disabled plugin back.

If the URL is valid but Discord rejects the message, the server log gets `Could not send the notification to Discord` and the plugin keeps running.

See also: [Configuration reference](https://docs.onelitefeather.net/antiredstoneclock-remastered/reference/configuration.md) for the `notification.discord.*` keys, including how to change the embed colour, description and fields.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.onelitefeather.net/antiredstoneclock-remastered/how-to-guides/send-alerts-to-discord.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
