# Introduction to Live Role

## What is live role?

Live Role allows you to promote streamers in your Discord server by allowing them to receive an automatic role that gets added when someone streams on Twitch. We currently support the following two ways:

**Option 1)** Sx Live will detect their purple "streaming" status and add the configured role when they begin their stream. When they lose the streaming status, Sx Live will remove the live role.

{% hint style="info" %}
This option is better if you want everyone or a large amount of streamers in your server to receive the live role. This also requires them to connect their Twitch account to Discord, and use OBS. If you prefer this option, you will need to add our live bot called [Sx Live](https://discord.com/oauth2/authorize?client_id=540349742178107409\&permissions=268946536\&scope=bot). You can invite the bot [here](https://discord.com/oauth2/authorize?client_id=540349742178107409\&permissions=268946536\&scope=bot).
{% endhint %}

**Option 2)** You will connect individual Discord members to a twitch streamer, and Sx Bot will give the configured role when they begin their stream, and remove it when the stream is over.

{% hint style="info" %}
This option is better if you only have a few streamers who should receive the live role, they stream on mobile, or they don't have their Twitch account connected to Discord. For this option, you can use Sx Bot directly by using the commands:**`/twitch live-role set`**`and`**`/twitch discord-member connect`**
{% endhint %}

<div><figure><img src="/files/0V0kTB5fBgWyNeT8RyV5" alt=""><figcaption></figcaption></figure> <figure><img src="/files/AywGHrzKfg9oHFzLuzsl" alt=""><figcaption></figcaption></figure></div>


---

# 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/twitch-notifications/introduction-to-live-role.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.
