> For the complete documentation index, see [llms.txt](https://docs.moonitor.tools/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.moonitor.tools/group-tools/reaction-linker.md).

# Reaction Linker

#### `$linkchannels`

**Description**: Lists all currently linked channel pairs along with their reaction threshold and tag role.

**Usage**:

```
$linkchannels
```

***

#### `$linkchannels #source #target minReaction @role`

**Description**: Creates a link between two channels. When a message in the source channel exceeds the `minReaction` threshold, it will be copied to the target channel.

**Usage**:

```
$linkchannels #source-channel #target-channel 5 @NotifyRole
```

**Parameters**:

* `#source-channel`: Channel to monitor.
* `#target-channel`: Channel to repost to.
* `minReaction`: Minimum number of reactions (default: 5, min: 2).
* `@role` (optional): Role to mention in the reposted message.

**Notes**:

* You must mention exactly 2 channels.
* `minReaction` must be a number >= 2.
* Mentioning a role is optional.

***

#### `$unlinkchannel #source #target`

**Description**: Removes a previously created link between a source and target channel.

**Usage**:

```
$unlinkchannel #source-channel #target-channel
```

**Notes**:

* You must mention exactly 2 channels.

***

#### `$resetlinkchannel #source`

**Description**: Removes all target channel links associated with the specified source channel.

**Usage**:

```
$resetlinkchannel #source-channel
```

**Notes**:

* You must mention exactly 1 channel.
* All links from the mentioned source channel will be deleted.


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.moonitor.tools/group-tools/reaction-linker.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
