> For the complete documentation index, see [llms.txt](https://allinone-discord-bot.gitbook.io/allinone-discord-bot-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://allinone-discord-bot.gitbook.io/allinone-discord-bot-docs/features/livestream-and-youtube-video-notifications.md).

# Livestream & Youtube Video Notifications

Here is an in-depth guide on how to setup our Twitch, Kick, YouTube Livestream, & video notifier.

{% hint style="danger" %}

## <sup>YouTube Videos & Livestreams notifications have been disabled while we work on some backend stuff. Kick & Twitch are still working fine.</sup>&#x20;

{% endhint %}

### Setup:

1. The first step is enabling Livestream notifications in `/setup`\
   ![](https://1142925276-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKcRRDKjrU5gvtP2xYlTC%2Fuploads%2FhaaxsJXOkZSJYy8qqkVA%2Fimage.png?alt=media\&token=87282c11-a1a7-4a50-8860-4b11bc966ba3)\
   \
   Click "Enable Livestream Notifications"\
   ![](https://1142925276-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKcRRDKjrU5gvtP2xYlTC%2Fuploads%2Fiu5DTephf6tTjhDyd470%2Fimage.png?alt=media\&token=01800f6e-4f20-41d3-adb0-e9f4733bed89)
2. After enabling the setting you have 2 options\
   ![](https://1142925276-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKcRRDKjrU5gvtP2xYlTC%2Fuploads%2FatRVcOHz6nKHTQnzYNKa%2Fimage.png?alt=media\&token=14ffbabf-d779-4f8d-8a80-a3c06786f7e2)\
   \
   **Configure Command Permissions**: - Who is allowed to use the `/livestream`:`/livestreamadd`:`/livestreamrem` commands\
   \
   **Manage Streams:** This is just instructions on how to remove streams from your Discord server.&#x20;

### How to add a stream/video:

#### \*Required to setup

After enabling livestream notifications within your discord server. Use the `/livestreamadd` command in any channel.

1. `/livestreamadd`

   <figure><img src="https://1142925276-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKcRRDKjrU5gvtP2xYlTC%2Fuploads%2FAAb6TFUWHFUoRRcMGUVS%2Fimage.png?alt=media&amp;token=6287a686-3b17-4a42-9362-1d8e9ec1932e" alt=""><figcaption></figcaption></figure>

2. **\*Platform**: from there you are going to select which platform. Twitch:YouTube:Kick

3. **\*Username** of the channel. The easiest way to find a username is looking at the URL.<br>

   <figure><img src="https://1142925276-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKcRRDKjrU5gvtP2xYlTC%2Fuploads%2FO4S30suXafIxcrFQYVAo%2Fimage.png?alt=media&amp;token=19c5d3e8-a588-4210-bad4-a8673eeb7610" alt=""><figcaption></figcaption></figure>

4. **\*Channel:** for the discord channel you want the notification posted in. <br>

   <figure><img src="https://1142925276-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKcRRDKjrU5gvtP2xYlTC%2Fuploads%2FArSCAcUOWFuWLNf2LL9y%2Fimage.png?alt=media&amp;token=8c3af091-1d8f-4132-957e-b04c4cf8acbd" alt=""><figcaption></figcaption></figure>

5. **\*Mention:** Do you want roles to mention when the stream/video is live?<br>

   <figure><img src="https://1142925276-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKcRRDKjrU5gvtP2xYlTC%2Fuploads%2FQ5V7TzUPvLTGSQYP2C8J%2Fimage.png?alt=media&amp;token=3fa1abb8-293c-4128-9632-84622a1be700" alt=""><figcaption></figcaption></figure>

6. Type: This setting is mainly for YouTube, whether you want only Livestreams, Videos, or Both<br>

   <figure><img src="https://1142925276-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKcRRDKjrU5gvtP2xYlTC%2Fuploads%2FXJdeNMCN1UAY0Zmfi0YF%2Fimage.png?alt=media&amp;token=2df3ef71-246e-4f9a-90db-c5e7509c43d0" alt=""><figcaption></figcaption></figure>

7. Role: If you clicked Specifc Role earlier in the setup, this setting is what you're mainly going to look at. This is the role(s) its going to @ when the user is live<br>

   <figure><img src="https://1142925276-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKcRRDKjrU5gvtP2xYlTC%2Fuploads%2FPtHcUrJ4ZIhOGvhuaBij%2Fimage.png?alt=media&amp;token=5307fd42-c19e-4129-b51b-36adc5f53c18" alt=""><figcaption></figcaption></figure>

8. Message: This setting is if you want a custom message when the user is live. e.g. @allinone Is live on Twitch, check them out below.

### Removing a stream/video user

In any channel follow these instructions.&#x20;

1. First thing you are wanting to do is **`/livestream`** command in any channel. This will pull up which livestreams you have enabled in your discord, along with an ID. <br>

   <figure><img src="https://1142925276-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKcRRDKjrU5gvtP2xYlTC%2Fuploads%2FOGHkpHxrm3pa3Q8wXcZg%2Fimage.png?alt=media&amp;token=68ad4d80-d70f-4300-9548-f41a8dd3312d" alt=""><figcaption></figcaption></figure>

   **For our case the ID is #2.**
2. Next command is `/livestreamrem` and its going to ask for an ID. <br>

   <figure><img src="https://1142925276-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKcRRDKjrU5gvtP2xYlTC%2Fuploads%2FFA4bsZbY1pKRoSZSDGQk%2Fimage.png?alt=media&amp;token=e30048e3-5fac-4d72-87b4-3eafe7c9e224" alt=""><figcaption></figcaption></figure>

   For example, our ID: is 2 (Do not put the hashtag in #2)<br>

   <figure><img src="https://1142925276-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FKcRRDKjrU5gvtP2xYlTC%2Fuploads%2FNCRgMbHJ7KRBYJlXMG0t%2Fimage.png?alt=media&amp;token=f26704dd-7fa7-43d2-9ab3-9f5ed139a6fa" alt=""><figcaption></figcaption></figure>

Now the stream is removed from the notifier!&#x20;

Have suggestions/improvements/bugs to report? Use the `/aioreport` command in any channel and send us some suggestions!

### Variables

* **`{streamer}`** - Streamer username/display name
* **`{url}`** - Stream/video URL
* **`{game}`** - Game/category being played
* **`{title}`** - Stream/video title
* **`{viewers}`** - Current viewer count (live streams only)
* **`{platform}`** - Platform name (Twitch, YouTube, Kick)


---

# 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 following URL with the `ask` and `goal` query parameters:

```
GET https://allinone-discord-bot.gitbook.io/allinone-discord-bot-docs/features/livestream-and-youtube-video-notifications.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 `build a script that syncs our docs to a CMS` 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.
