mirror of
https://github.com/nuttylmao/nutty.gg.git
synced 2026-09-19 04:00:59 -04:00
Added toggles for TikTok
This commit is contained in:
@@ -64,6 +64,11 @@ const showYouTubeSuperChats = GetBooleanParam("showYouTubeSuperChats", true);
|
|||||||
const showYouTubeSuperStickers = GetBooleanParam("showYouTubeSuperStickers", true);
|
const showYouTubeSuperStickers = GetBooleanParam("showYouTubeSuperStickers", true);
|
||||||
const showYouTubeMemberships = GetBooleanParam("showYouTubeMemberships", true);
|
const showYouTubeMemberships = GetBooleanParam("showYouTubeMemberships", true);
|
||||||
|
|
||||||
|
const enableTikTokSupport = GetBooleanParam("enableTikTokSupport", false);
|
||||||
|
const showTikTokMessages = GetBooleanParam("showTikTokMessages", false);
|
||||||
|
const showTikTokGifts = GetBooleanParam("showTikTokGifts", false);
|
||||||
|
const showTikTokSubs = GetBooleanParam("showTikTokSubs", false);
|
||||||
|
|
||||||
const showStreamlabsDonations = GetBooleanParam("showStreamlabsDonations", true)
|
const showStreamlabsDonations = GetBooleanParam("showStreamlabsDonations", true)
|
||||||
const showStreamElementsTips = GetBooleanParam("showStreamElementsTips", true);
|
const showStreamElementsTips = GetBooleanParam("showStreamElementsTips", true);
|
||||||
const showPatreonMemberships = GetBooleanParam("showPatreonMemberships", true);
|
const showPatreonMemberships = GetBooleanParam("showPatreonMemberships", true);
|
||||||
@@ -379,6 +384,9 @@ window.addEventListener('load', KickConnect);
|
|||||||
let tikfinityWebsocket = null;
|
let tikfinityWebsocket = null;
|
||||||
|
|
||||||
function TikfinityConnect() {
|
function TikfinityConnect() {
|
||||||
|
if (!enableTikTokSupport)
|
||||||
|
return;
|
||||||
|
|
||||||
if (tikfinityWebsocket) return; // Already connected
|
if (tikfinityWebsocket) return; // Already connected
|
||||||
|
|
||||||
tikfinityWebsocket = new WebSocket("ws://localhost:21213/");
|
tikfinityWebsocket = new WebSocket("ws://localhost:21213/");
|
||||||
@@ -1400,6 +1408,9 @@ function KickUserBanned(data) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async function TikTokChat(data) {
|
async function TikTokChat(data) {
|
||||||
|
if (!showTikTokMessages)
|
||||||
|
return;
|
||||||
|
|
||||||
// Don't post messages starting with "!"
|
// Don't post messages starting with "!"
|
||||||
if (data.comment.startsWith("!") && excludeCommands)
|
if (data.comment.startsWith("!") && excludeCommands)
|
||||||
return;
|
return;
|
||||||
@@ -1498,6 +1509,9 @@ async function TikTokChat(data) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async function TikTokGift(data) {
|
async function TikTokGift(data) {
|
||||||
|
if (!showTikTokGifts)
|
||||||
|
return;
|
||||||
|
|
||||||
if (data.giftType === 1 && !data.repeatEnd) {
|
if (data.giftType === 1 && !data.repeatEnd) {
|
||||||
// Streak in progress => show only temporary
|
// Streak in progress => show only temporary
|
||||||
console.debug(`${data.uniqueId} is sending gift ${data.giftName} x${data.repeatCount}`);
|
console.debug(`${data.uniqueId} is sending gift ${data.giftName} x${data.repeatCount}`);
|
||||||
@@ -1515,6 +1529,9 @@ async function TikTokGift(data) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async function TikTokSubscribe(data) {
|
async function TikTokSubscribe(data) {
|
||||||
|
if (!showTikTokSubs)
|
||||||
|
return;
|
||||||
|
|
||||||
let username = data.nickname;
|
let username = data.nickname;
|
||||||
|
|
||||||
const message = `${username} subscribed on TikTok`;
|
const message = `${username} subscribed on TikTok`;
|
||||||
|
|||||||
@@ -175,6 +175,38 @@
|
|||||||
"defaultValue": true,
|
"defaultValue": true,
|
||||||
"group": "Which Twitch messages do you want to see?"
|
"group": "Which Twitch messages do you want to see?"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"id": "showYouTubeMessages",
|
||||||
|
"label": "Chat Messages",
|
||||||
|
"description": "",
|
||||||
|
"type": "checkbox",
|
||||||
|
"defaultValue": true,
|
||||||
|
"group": "Which YouTube messages do you want to see?"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "showYouTubeSuperChats",
|
||||||
|
"label": "Super Chats",
|
||||||
|
"description": "",
|
||||||
|
"type": "checkbox",
|
||||||
|
"defaultValue": true,
|
||||||
|
"group": "Which YouTube messages do you want to see?"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "showYouTubeSuperStickers",
|
||||||
|
"label": "Super Stickers",
|
||||||
|
"description": "",
|
||||||
|
"type": "checkbox",
|
||||||
|
"defaultValue": true,
|
||||||
|
"group": "Which YouTube messages do you want to see?"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "showYouTubeMemberships",
|
||||||
|
"label": "Memberships",
|
||||||
|
"description": "",
|
||||||
|
"type": "checkbox",
|
||||||
|
"defaultValue": true,
|
||||||
|
"group": "Which YouTube messages do you want to see?"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"id": "enableKickSupport",
|
"id": "enableKickSupport",
|
||||||
"label": "Enable Kick Support",
|
"label": "Enable Kick Support",
|
||||||
@@ -229,36 +261,39 @@
|
|||||||
"group": "Which Kick messages do you want to see?"
|
"group": "Which Kick messages do you want to see?"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "showYouTubeMessages",
|
"id": "enableTikTokSupport",
|
||||||
|
"label": "Enable TikTok Support",
|
||||||
|
"description": "",
|
||||||
|
"type": "checkbox",
|
||||||
|
"defaultValue": false,
|
||||||
|
"group": "Which TikTok messages do you want to see?"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "showTikTokMessages",
|
||||||
"label": "Chat Messages",
|
"label": "Chat Messages",
|
||||||
"description": "",
|
"description": "",
|
||||||
"type": "checkbox",
|
"type": "checkbox",
|
||||||
"defaultValue": true,
|
"defaultValue": true,
|
||||||
"group": "Which YouTube messages do you want to see?"
|
"showIf": "enableTikTokSupport",
|
||||||
|
"group": "Which TikTok messages do you want to see?"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "showYouTubeSuperChats",
|
"id": "showTikTokGifts",
|
||||||
"label": "Super Chats",
|
"label": "Gifts",
|
||||||
"description": "",
|
"description": "",
|
||||||
"type": "checkbox",
|
"type": "checkbox",
|
||||||
"defaultValue": true,
|
"defaultValue": true,
|
||||||
"group": "Which YouTube messages do you want to see?"
|
"showIf": "enableTikTokSupport",
|
||||||
|
"group": "Which TikTok messages do you want to see?"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "showYouTubeSuperStickers",
|
"id": "showTikTokSubs",
|
||||||
"label": "Super Stickers",
|
"label": "New Subscribers",
|
||||||
"description": "",
|
"description": "",
|
||||||
"type": "checkbox",
|
"type": "checkbox",
|
||||||
"defaultValue": true,
|
"defaultValue": true,
|
||||||
"group": "Which YouTube messages do you want to see?"
|
"showIf": "enableTikTokSupport",
|
||||||
},
|
"group": "Which TikTok messages do you want to see?"
|
||||||
{
|
|
||||||
"id": "showYouTubeMemberships",
|
|
||||||
"label": "Memberships",
|
|
||||||
"description": "",
|
|
||||||
"type": "checkbox",
|
|
||||||
"defaultValue": true,
|
|
||||||
"group": "Which YouTube messages do you want to see?"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "showStreamlabsDonations",
|
"id": "showStreamlabsDonations",
|
||||||
|
|||||||
@@ -68,6 +68,11 @@ const showYouTubeSuperChats = GetBooleanParam("showYouTubeSuperChats", true);
|
|||||||
const showYouTubeSuperStickers = GetBooleanParam("showYouTubeSuperStickers", true);
|
const showYouTubeSuperStickers = GetBooleanParam("showYouTubeSuperStickers", true);
|
||||||
const showYouTubeMemberships = GetBooleanParam("showYouTubeMemberships", true);
|
const showYouTubeMemberships = GetBooleanParam("showYouTubeMemberships", true);
|
||||||
|
|
||||||
|
const enableTikTokSupport = GetBooleanParam("enableTikTokSupport", false);
|
||||||
|
const showTikTokMessages = GetBooleanParam("showTikTokMessages", false);
|
||||||
|
const showTikTokGifts = GetBooleanParam("showTikTokGifts", false);
|
||||||
|
const showTikTokSubs = GetBooleanParam("showTikTokSubs", false);
|
||||||
|
|
||||||
const showStreamlabsDonations = GetBooleanParam("showStreamlabsDonations", true)
|
const showStreamlabsDonations = GetBooleanParam("showStreamlabsDonations", true)
|
||||||
const showStreamElementsTips = GetBooleanParam("showStreamElementsTips", true);
|
const showStreamElementsTips = GetBooleanParam("showStreamElementsTips", true);
|
||||||
const showPatreonMemberships = GetBooleanParam("showPatreonMemberships", true);
|
const showPatreonMemberships = GetBooleanParam("showPatreonMemberships", true);
|
||||||
@@ -402,6 +407,9 @@ window.addEventListener('load', KickConnect);
|
|||||||
let tikfinityWebsocket = null;
|
let tikfinityWebsocket = null;
|
||||||
|
|
||||||
function TikfinityConnect() {
|
function TikfinityConnect() {
|
||||||
|
if (!enableTikTokSupport)
|
||||||
|
return;
|
||||||
|
|
||||||
if (tikfinityWebsocket) return; // Already connected
|
if (tikfinityWebsocket) return; // Already connected
|
||||||
|
|
||||||
tikfinityWebsocket = new WebSocket("ws://localhost:21213/");
|
tikfinityWebsocket = new WebSocket("ws://localhost:21213/");
|
||||||
@@ -2497,6 +2505,9 @@ function KickUserBanned(data) {
|
|||||||
|
|
||||||
|
|
||||||
async function TikTokChat(data) {
|
async function TikTokChat(data) {
|
||||||
|
if (!showTikTokMessages)
|
||||||
|
return;
|
||||||
|
|
||||||
// Don't post messages starting with "!"
|
// Don't post messages starting with "!"
|
||||||
if (data.comment.startsWith("!") && excludeCommands)
|
if (data.comment.startsWith("!") && excludeCommands)
|
||||||
return;
|
return;
|
||||||
@@ -2631,6 +2642,9 @@ async function TikTokChat(data) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function TikTokGift(data) {
|
function TikTokGift(data) {
|
||||||
|
if (!showTikTokGifts)
|
||||||
|
return;
|
||||||
|
|
||||||
if (data.giftType === 1 && !data.repeatEnd) {
|
if (data.giftType === 1 && !data.repeatEnd) {
|
||||||
// Streak in progress => show only temporary
|
// Streak in progress => show only temporary
|
||||||
console.debug(`${data.uniqueId} is sending gift ${data.giftName} x${data.repeatCount}`);
|
console.debug(`${data.uniqueId} is sending gift ${data.giftName} x${data.repeatCount}`);
|
||||||
@@ -2663,6 +2677,9 @@ function TikTokGift(data) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function TikTokSubscribe(data) {
|
function TikTokSubscribe(data) {
|
||||||
|
if (!showTikTokSubs)
|
||||||
|
return;
|
||||||
|
|
||||||
// Get a reference to the template
|
// Get a reference to the template
|
||||||
const template = document.getElementById('cardTemplate');
|
const template = document.getElementById('cardTemplate');
|
||||||
|
|
||||||
|
|||||||
@@ -304,6 +304,38 @@
|
|||||||
"defaultValue": 2,
|
"defaultValue": 2,
|
||||||
"group": "Which Twitch messages do you want to see?"
|
"group": "Which Twitch messages do you want to see?"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"id": "showYouTubeMessages",
|
||||||
|
"label": "Chat Messages",
|
||||||
|
"description": "",
|
||||||
|
"type": "checkbox",
|
||||||
|
"defaultValue": true,
|
||||||
|
"group": "Which YouTube messages do you want to see?"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "showYouTubeSuperChats",
|
||||||
|
"label": "Super Chats",
|
||||||
|
"description": "",
|
||||||
|
"type": "checkbox",
|
||||||
|
"defaultValue": true,
|
||||||
|
"group": "Which YouTube messages do you want to see?"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "showYouTubeSuperStickers",
|
||||||
|
"label": "Super Stickers",
|
||||||
|
"description": "",
|
||||||
|
"type": "checkbox",
|
||||||
|
"defaultValue": true,
|
||||||
|
"group": "Which YouTube messages do you want to see?"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "showYouTubeMemberships",
|
||||||
|
"label": "Memberships",
|
||||||
|
"description": "",
|
||||||
|
"type": "checkbox",
|
||||||
|
"defaultValue": true,
|
||||||
|
"group": "Which YouTube messages do you want to see?"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"id": "enableKickSupport",
|
"id": "enableKickSupport",
|
||||||
"label": "Enable Kick Support",
|
"label": "Enable Kick Support",
|
||||||
@@ -358,36 +390,39 @@
|
|||||||
"group": "Which Kick messages do you want to see?"
|
"group": "Which Kick messages do you want to see?"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "showYouTubeMessages",
|
"id": "enableTikTokSupport",
|
||||||
|
"label": "Enable TikTok Support",
|
||||||
|
"description": "",
|
||||||
|
"type": "checkbox",
|
||||||
|
"defaultValue": false,
|
||||||
|
"group": "Which TikTok messages do you want to see?"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "showTikTokMessages",
|
||||||
"label": "Chat Messages",
|
"label": "Chat Messages",
|
||||||
"description": "",
|
"description": "",
|
||||||
"type": "checkbox",
|
"type": "checkbox",
|
||||||
"defaultValue": true,
|
"defaultValue": true,
|
||||||
"group": "Which YouTube messages do you want to see?"
|
"showIf": "enableTikTokSupport",
|
||||||
|
"group": "Which TikTok messages do you want to see?"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "showYouTubeSuperChats",
|
"id": "showTikTokGifts",
|
||||||
"label": "Super Chats",
|
"label": "Gifts",
|
||||||
"description": "",
|
"description": "",
|
||||||
"type": "checkbox",
|
"type": "checkbox",
|
||||||
"defaultValue": true,
|
"defaultValue": true,
|
||||||
"group": "Which YouTube messages do you want to see?"
|
"showIf": "enableTikTokSupport",
|
||||||
|
"group": "Which TikTok messages do you want to see?"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "showYouTubeSuperStickers",
|
"id": "showTikTokSubs",
|
||||||
"label": "Super Stickers",
|
"label": "New Subscribers",
|
||||||
"description": "",
|
"description": "",
|
||||||
"type": "checkbox",
|
"type": "checkbox",
|
||||||
"defaultValue": true,
|
"defaultValue": true,
|
||||||
"group": "Which YouTube messages do you want to see?"
|
"showIf": "enableTikTokSupport",
|
||||||
},
|
"group": "Which TikTok messages do you want to see?"
|
||||||
{
|
|
||||||
"id": "showYouTubeMemberships",
|
|
||||||
"label": "Memberships",
|
|
||||||
"description": "",
|
|
||||||
"type": "checkbox",
|
|
||||||
"defaultValue": true,
|
|
||||||
"group": "Which YouTube messages do you want to see?"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "showStreamlabsDonations",
|
"id": "showStreamlabsDonations",
|
||||||
|
|||||||
@@ -87,6 +87,13 @@ const youtubeSuperStickerAction = urlParams.get("youtubeSuperStickerAction") ||
|
|||||||
const showYouTubeMemberships = GetBooleanParam("showYouTubeMemberships", true);
|
const showYouTubeMemberships = GetBooleanParam("showYouTubeMemberships", true);
|
||||||
const youtubeMembershipAction = urlParams.get("youtubeMembershipAction") || "";
|
const youtubeMembershipAction = urlParams.get("youtubeMembershipAction") || "";
|
||||||
|
|
||||||
|
// Which TikTok alerts do you want to see?
|
||||||
|
const enableTikTokSupport = GetBooleanParam("enableTikTokSupport", false);
|
||||||
|
const showTikTokGifts = GetBooleanParam("showTikTokGifts", true);
|
||||||
|
const tiktokGiftAction = urlParams.get("tiktokGiftAction") || "";
|
||||||
|
const showTikTokSubs = GetBooleanParam("showTikTokSubs", true);
|
||||||
|
const tiktokSubAction = urlParams.get("tiktokSubAction") || "";
|
||||||
|
|
||||||
// Which donation alerts do you want to see?
|
// Which donation alerts do you want to see?
|
||||||
const showStreamlabsDonations = GetBooleanParam("showStreamlabsDonations", false);
|
const showStreamlabsDonations = GetBooleanParam("showStreamlabsDonations", false);
|
||||||
const streamlabsDonationAction = urlParams.get("streamlabsDonationAction") || "";
|
const streamlabsDonationAction = urlParams.get("streamlabsDonationAction") || "";
|
||||||
@@ -389,6 +396,9 @@ window.addEventListener('load', KickConnect);
|
|||||||
let tikfinityWebsocket = null;
|
let tikfinityWebsocket = null;
|
||||||
|
|
||||||
function TikfinityConnect() {
|
function TikfinityConnect() {
|
||||||
|
if (!enableTikTokSupport)
|
||||||
|
return;
|
||||||
|
|
||||||
if (tikfinityWebsocket) return; // Already connected
|
if (tikfinityWebsocket) return; // Already connected
|
||||||
|
|
||||||
tikfinityWebsocket = new WebSocket("ws://localhost:21213/");
|
tikfinityWebsocket = new WebSocket("ws://localhost:21213/");
|
||||||
@@ -1367,6 +1377,9 @@ async function KickStreamHost(data) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async function TikTokGift(data) {
|
async function TikTokGift(data) {
|
||||||
|
if (!showTikTokGifts)
|
||||||
|
return;
|
||||||
|
|
||||||
// Set the text
|
// Set the text
|
||||||
const username = data.nickname;
|
const username = data.nickname;
|
||||||
const tiktokIcon = `<img src="icons/platforms/tiktok.png" class="platform"/>`;
|
const tiktokIcon = `<img src="icons/platforms/tiktok.png" class="platform"/>`;
|
||||||
@@ -1383,12 +1396,15 @@ async function TikTokGift(data) {
|
|||||||
'',
|
'',
|
||||||
username,
|
username,
|
||||||
'',
|
'',
|
||||||
'', //twitchSubAction,
|
tiktokGiftAction,
|
||||||
data
|
data
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
async function TikTokSubscribe(data) {
|
async function TikTokSubscribe(data) {
|
||||||
|
if (!showTikTokSubs)
|
||||||
|
return;
|
||||||
|
|
||||||
// Set the text
|
// Set the text
|
||||||
const username = data.nickname;
|
const username = data.nickname;
|
||||||
const tiktokIcon = `<img src="icons/platforms/tiktok.png" class="platform"/>`;
|
const tiktokIcon = `<img src="icons/platforms/tiktok.png" class="platform"/>`;
|
||||||
@@ -1404,7 +1420,7 @@ async function TikTokSubscribe(data) {
|
|||||||
'',
|
'',
|
||||||
username,
|
username,
|
||||||
'',
|
'',
|
||||||
'', //twitchSubAction,
|
tiktokSubAction,
|
||||||
data
|
data
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -312,6 +312,57 @@
|
|||||||
"showIf": "showTwitchRaids",
|
"showIf": "showTwitchRaids",
|
||||||
"group": "Which Twitch alerts do you want to see?"
|
"group": "Which Twitch alerts do you want to see?"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"id": "showYouTubeSuperChats",
|
||||||
|
"label": "Super Chats",
|
||||||
|
"description": "",
|
||||||
|
"type": "checkbox",
|
||||||
|
"defaultValue": true,
|
||||||
|
"group": "Which YouTube alerts do you want to see?"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "youtubeSuperChatAction",
|
||||||
|
"label": "",
|
||||||
|
"description": "Also run this Streamer.bot Action",
|
||||||
|
"type": "sb-actions",
|
||||||
|
"defaultValue": "",
|
||||||
|
"showIf": "showYouTubeSuperChats",
|
||||||
|
"group": "Which YouTube alerts do you want to see?"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "showYouTubeSuperStickers",
|
||||||
|
"label": "Super Stickers",
|
||||||
|
"description": "",
|
||||||
|
"type": "checkbox",
|
||||||
|
"defaultValue": true,
|
||||||
|
"group": "Which YouTube alerts do you want to see?"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "youtubeSuperStickerAction",
|
||||||
|
"label": "",
|
||||||
|
"description": "Also run this Streamer.bot Action",
|
||||||
|
"type": "sb-actions",
|
||||||
|
"defaultValue": "",
|
||||||
|
"showIf": "showYouTubeSuperStickers",
|
||||||
|
"group": "Which YouTube alerts do you want to see?"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "showYouTubeMemberships",
|
||||||
|
"label": "Memberships",
|
||||||
|
"description": "",
|
||||||
|
"type": "checkbox",
|
||||||
|
"defaultValue": true,
|
||||||
|
"group": "Which YouTube alerts do you want to see?"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "youtubeMembershipAction",
|
||||||
|
"label": "",
|
||||||
|
"description": "Also run this Streamer.bot Action",
|
||||||
|
"type": "sb-actions",
|
||||||
|
"defaultValue": "",
|
||||||
|
"showIf": "showYouTubeMemberships",
|
||||||
|
"group": "Which YouTube alerts do you want to see?"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"id": "enableKickSupport",
|
"id": "enableKickSupport",
|
||||||
"label": "Enable Kick Support",
|
"label": "Enable Kick Support",
|
||||||
@@ -384,55 +435,48 @@
|
|||||||
"group": "Which Kick alerts do you want to see?"
|
"group": "Which Kick alerts do you want to see?"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "showYouTubeSuperChats",
|
"id": "enableTikTokSupport",
|
||||||
"label": "Super Chats",
|
"label": "Enable TikTok Support",
|
||||||
|
"description": "",
|
||||||
|
"type": "checkbox",
|
||||||
|
"defaultValue": false,
|
||||||
|
"group": "Which TikTok alerts do you want to see?"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "showTikTokGifts",
|
||||||
|
"label": "Gifts",
|
||||||
"description": "",
|
"description": "",
|
||||||
"type": "checkbox",
|
"type": "checkbox",
|
||||||
"defaultValue": true,
|
"defaultValue": true,
|
||||||
"group": "Which YouTube alerts do you want to see?"
|
"showIf": "enableTikTokSupport",
|
||||||
|
"group": "Which TikTok alerts do you want to see?"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "youtubeSuperChatAction",
|
"id": "tiktokGiftAction",
|
||||||
"label": "",
|
"label": "",
|
||||||
"description": "Also run this Streamer.bot Action",
|
"description": "Also run this Streamer.bot Action",
|
||||||
"type": "sb-actions",
|
"type": "sb-actions",
|
||||||
"defaultValue": "",
|
"defaultValue": "",
|
||||||
"showIf": "showYouTubeSuperChats",
|
"showIf": "showTikTokGifts",
|
||||||
"group": "Which YouTube alerts do you want to see?"
|
"group": "Which TikTok alerts do you want to see?"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "showYouTubeSuperStickers",
|
"id": "showTikTokSubs",
|
||||||
"label": "Super Stickers",
|
"label": "New Subscribers",
|
||||||
"description": "",
|
"description": "",
|
||||||
"type": "checkbox",
|
"type": "checkbox",
|
||||||
"defaultValue": true,
|
"defaultValue": true,
|
||||||
"group": "Which YouTube alerts do you want to see?"
|
"showIf": "enableTikTokSupport",
|
||||||
|
"group": "Which TikTok alerts do you want to see?"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "youtubeSuperStickerAction",
|
"id": "tiktokSubAction",
|
||||||
"label": "",
|
"label": "",
|
||||||
"description": "Also run this Streamer.bot Action",
|
"description": "Also run this Streamer.bot Action",
|
||||||
"type": "sb-actions",
|
"type": "sb-actions",
|
||||||
"defaultValue": "",
|
"defaultValue": "",
|
||||||
"showIf": "showYouTubeSuperStickers",
|
"showIf": "showTikTokSubs",
|
||||||
"group": "Which YouTube alerts do you want to see?"
|
"group": "Which TikTok alerts do you want to see?"
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "showYouTubeMemberships",
|
|
||||||
"label": "Memberships",
|
|
||||||
"description": "",
|
|
||||||
"type": "checkbox",
|
|
||||||
"defaultValue": true,
|
|
||||||
"group": "Which YouTube alerts do you want to see?"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "youtubeMembershipAction",
|
|
||||||
"label": "",
|
|
||||||
"description": "Also run this Streamer.bot Action",
|
|
||||||
"type": "sb-actions",
|
|
||||||
"defaultValue": "",
|
|
||||||
"showIf": "showYouTubeMemberships",
|
|
||||||
"group": "Which YouTube alerts do you want to see?"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "showStreamlabsDonations",
|
"id": "showStreamlabsDonations",
|
||||||
|
|||||||
Reference in New Issue
Block a user