diff --git a/multichat-overlay/index.html b/multichat-overlay/index.html index b8aa6a5..b2b5991 100644 --- a/multichat-overlay/index.html +++ b/multichat-overlay/index.html @@ -98,8 +98,6 @@ 13 -
-
diff --git a/multichat-overlay/script.js b/multichat-overlay/script.js index f1c905d..9f0cae9 100644 --- a/multichat-overlay/script.js +++ b/multichat-overlay/script.js @@ -2871,7 +2871,6 @@ async function KickKicksGifted(data) { const giftNameSpan = instance.querySelector('#kick-gift-name'); const stickerImg = instance.querySelector('.kick-gift-sticker'); const amountDiv = instance.querySelector('#kick-gift-amount'); - const messageDiv = instance.querySelector('#kick-gift-message'); avatarImg.src = await GetAvatar(data.sender.username, 'kick'); // Set the card header usernameSpan.innerText = data.sender.username; // Set the username @@ -2879,7 +2878,6 @@ async function KickKicksGifted(data) { giftNameSpan.innerText = data.gift.name; // Set the gift name stickerImg.src = `https://files.kick.com/kicks/gifts/${data.gift.gift_id.replace('_', '-')}.webp`; // Set the sticker image URL amountDiv.innerText = data.gift.amount; // Set the number of gifts sent - messageDiv.innerText = data.message // Set the message AddMessageItem(instance, null, 'kick', data.senderId); } @@ -3431,4 +3429,28 @@ async function GetYouTubeVideoData(videoId) { console.error('Error fetching YouTube video data:', error); return null; } -} \ No newline at end of file +} + +let data = { + "gift_transaction_id": "fa306456-06d9-4e6c-8ea7-e1060f6eaf57", + "sender": { + "id": 447944, + "username": "DarthBlazeLive", + "username_color": "#E4D88F", + "profile_picture": "https://files.kick.com/images/user/447944/profile_image/conversion/df4eddb9-d9f3-4c50-ae30-8fd3c3dae366-fullsize.webp" + }, + "gift": { + "gift_id": "hell_yeah", + "name": "Hell Yeah", + "amount": 1, + "type": "BASIC", + "tier": "BASIC", + "character_limit": 0, + "pinned_time": 0 + }, + "created_at": "2026-09-17T17:13:56.921027555Z" +} + + setTimeout(() => { + KickKicksGifted(data); + } , 1000); \ No newline at end of file diff --git a/multichat-overlay/style.css b/multichat-overlay/style.css index 7b3ed0c..1e013c7 100644 --- a/multichat-overlay/style.css +++ b/multichat-overlay/style.css @@ -282,7 +282,7 @@ li { } .kick-gift-sticker { - height: 5em; + height: 2.5em; } #tiktok-gift-repeat-count {