Removed "messages" from Kicks Gifted. Idk why I added that in the first place, you cannot even leave messages with Kick Gifts. WHAT WAS I THINKING DOOD?!?!?!

This commit is contained in:
nutty
2026-09-18 05:47:42 +10:00
parent c37ba5c835
commit 7c435314de
3 changed files with 26 additions and 6 deletions
-2
View File
@@ -98,8 +98,6 @@
<img src="icons/badges/kick-kicks.svg" style="height: 1em; padding-left: 0.5em; padding-right: 0.25em;">
<span id="kick-gift-amount">13</span>
</div>
<div id="kick-gift-message">
</div>
</div>
<img class="kick-gift-sticker"
src="" />
+25 -3
View File
@@ -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;
}
}
}
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);
+1 -1
View File
@@ -282,7 +282,7 @@ li {
}
.kick-gift-sticker {
height: 5em;
height: 2.5em;
}
#tiktok-gift-repeat-count {