# Setup Stream Notifications on Discord

**1.** [Invite the Twitch Live Bot](https://discord.com/oauth2/authorize?client_id=696870234262339614\&permissions=276220603640\&response_type=code\&redirect_uri=https%3A%2F%2Fsxbot.io%2Fwelcome%3Fsource%3Dsxlive\&scope=bot%20applications.commands) if you haven't already.

**2.** Add the Twitch streamer to notify in your Discord.\
**Example:`/twitch add xqc #live-notifications`**

**3.** All done! Stream notifications will be announced to your Discord channel within a few seconds of going live.

<figure><img src="/files/APDIn3WSpgCT1UQrqL7n" alt="Twitch notification example" width="375"><figcaption><p>Twitch stream notification example</p></figcaption></figure>


---

# Agent Instructions: 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.sxbot.io/sx-live-streaming-bot/setup-stream-notifications-on-discord.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.
