Twitch Announcements
Setup and configure twitch stream announcements
Follow these steps to register a Twitch application and update the Drako Bot configuration.
Step 1: Register a Twitch Application
Navigate to the Twitch Developer Console and log in with your Twitch account.
Register a new application:
Name: Enter a name for your application.
OAuth Redirect URL: It can be any valid URL.
Category: Select "Application Integration".
Client Type: Select "Confidential".
Copy down the Client ID and generate a Client Secret. Save both for later use.
Important: Keep your Client Secret secure and do not share it publicly.
Step 2: Update Drako Bot Configuration
Open your
config.yml
fileUpdate the Twitch section with your Client ID, Client Secret, Announcement Channel ID, and Role IDs.
Example Configuration
Configuration Details
Option | Description | Example |
---|---|---|
Enabled | Set this to |
|
ClientID | The Client ID obtained from the Twitch Developer Console. |
|
ClientSecret | The Client Secret generated in the Twitch Developer Console. |
|
AnnouncementChannelID | The ID of the Discord channel where stream announcements will be posted. |
|
roleRequired | Role required to use Twitch-related commands. |
|
AssignRole | Role that will be assigned when the user goes live. |
|
Hint: Ensure that the AnnouncementChannelID
and RoleIDs
are correctly set up in your Discord server to match the configuration.
Streamers Configuration
Define the message and embed settings for stream announcements.
Example Streamer Configuration
Option | Description | Example |
---|---|---|
Content | The message content announcing the stream. |
|
AuthorName | Name of the streamer. |
|
AuthorIcon | URL to the streamer's icon. |
|
AuthorURL | URL to the streamer's Twitch page. |
|
Title | Title of the embed. |
|
Description | Description of the stream, supports markdown. | See example above |
Image | URL to the stream thumbnail. |
|
Footer | Footer text for the embed. | `"Twitch Alerts |
FooterIcon | URL to the footer icon. |
|
Color | Color of the embed. |
|
Thumbnail | URL to the game icon thumbnail. |
|
Components | Interactive components like buttons. | See example above |
Last updated