> For the complete documentation index, see [llms.txt](https://niiroow.gitbook.io/abaddon/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://niiroow.gitbook.io/abaddon/commands/utility/atwitch.md).

# Twitch announce

Send a message to the defined channel when a streamer is live.

## Set a announcement channel&#x20;

Announcements will be sent to this channel when a streamer is live

```
!atwitch set <textChannel>
```

> ex: ***`!atwitch set #Twitch-notif`***

## Add a streamer

```
!atwitch add <twitchUsername>
```

> ex: ***`!atwitch add Pewdiepie`***

{% hint style="info" %}
You can add up to 5 twitch users
{% endhint %}

## Remove a streamer

```
!atwitch remove <twitchUsername | twitchUserID>
```

> ex:\
> \&#xNAN;***`!atwitch remove pewdiepie`***\
> ***`!atwitch remove 45724544`***

{% hint style="info" %}
Registered Twitch users & IDs can be found in the ***`!atwitch status`*** command.
{% endhint %}

## Edit announce message

Change the message that will be sent when a streamer is live

```
!atwitch message <text w/ messageUtil?>
```

{% hint style="info" %}
The ***`messageUtil`*** are words which will be replaced by the data of the live.
{% endhint %}

| Message util | Replaced by         |
| ------------ | ------------------- |
| {user\_name} | Twitch user name    |
| {user\_link} | Twitch channel link |
| {game}       | Live's game         |
| {viewers}    | Live's viewer       |

> ex: \
> \&#xNAN;***`!atwitch message Hey @everyone! {user_name} is on live!`***\
> \
> ***`!atwitch message {user_name} is live , check it out here {user_link}`***\
> \
> ***`!atwitch message {user_name} is live on {game} with {viewers} viewers`***

{% hint style="info" %}
You can of course formulate the sentences as you wish.
{% endhint %}

An exemple :

![The preview is only an example of rendering, the messageUtil will be replaced by the data of the stream](/files/-MCbIH3PgF73rbTVZFhK)

## Disable twitch announce

```
!atwitch disable
```

## Twitch announce Status

```
!atwitch status
```

{% hint style="info" %}
This command allows you to see the channel defined for announcements, registered twitch users and announcement message.
{% endhint %}


---

# 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, and the optional `goal` query parameter:

```
GET https://niiroow.gitbook.io/abaddon/commands/utility/atwitch.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
