Updated for new payload

This commit is contained in:
nutty
2026-09-13 08:36:45 +10:00
parent 6e7df385b1
commit b496b1bde5
3 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -706,8 +706,8 @@ async function TwitchSub(data) {
let username = data.user.name;
if (data.user.name.toLowerCase() != data.user.login.toLowerCase())
username = `${data.user.name} (${data.user.login})`;
const subTier = data.sub_tier;
const isPrime = data.is_prime;
const subTier = data.sub_tier ?? data.subTier;
const isPrime = data.is_prime ?? data.isPrime;
let message = '';