First release ready (sans minor cleanup)

This commit is contained in:
nuttylmao
2025-04-19 05:51:53 +10:00
parent 950d76bd10
commit 076ade1f54
5 changed files with 243 additions and 268 deletions
+7 -3
View File
@@ -511,9 +511,13 @@ async function TwitchGiftBomb(data) {
if (!showTwitchSubs)
return;
const username = data.displayName;
const gifts = data.gifts;
const subTier = data.subTier;
//// The below is incorrect (Streamer.bot documentation is wrong)
// const username = data.displayName;
// const gifts = data.gifts;
// const subTier = data.subTier;
const username = data.user.name;
const gifts = data.recipients.length;
const subTier = data.sub_tier.charAt(0);
let message = `🎁 ${username} gifted ${gifts} Tier ${subTier} subs!`;