If you don't plan on using Kick at all you can safely skip this document. We made sure not to break any existing features, settings or scripts.
This document only applies to people who wish to use the Kick integration or wish to future-proof themselves.
You will have to ask us for the PusherKey and PusherCluster.
Once you have this, you can add the following snippet to your settings file, right above "Discord": {
"Kick": {
"PusherKey": "",
"PusherCluster": "",
"ChatroomId": ""
},
The result should look something like the following:
{
"Twitch": {
"ClientId": "...",
"ClientSecret": "...",
"AccessToken": "...",
"RefreshToken": "...",
"Scopes": [
"bits:read",
"channel:manage:polls",
"channel:manage:redemptions",
"channel:read:hype_train",
"channel:read:polls",
"channel:read:redemptions",
"channel:read:subscriptions",
"channel:read:vips",
"chat:edit",
"chat:read"
]
},
"Kick": {
"PusherKey": "...",
"PusherCluster": "...",
"ChatroomId": "..."
},
"Discord": {
"Webhook": "..."
},
"SubLink": {
"Discriminator": 123
}
}
Add the following snippet right after var notifier = new XSNotifier();
#if SUBLINK_TWITCH
This should result in the following:
using Serilog;
using System;
using System.Threading.Channels;
var notifier = new XSNotifier();
#if SUBLINK_TWITCH
logger.Information("Twitch integration enabled");
Add the following at the very bottom of your SubLink.cs
file:
#endif
#if SUBLINK_KICK
logger.Information("Kick integration enabled");
#endif
You can always look at the SubLink.cs file in this repository to get an idea of how to react to Kick events.