mirror of
https://github.com/nuttylmao/nutty.gg.git
synced 2026-09-19 04:00:59 -04:00
Removed unneccessary IDs
This commit is contained in:
@@ -2364,7 +2364,7 @@ async function KickGiftedSubscriptions(data) {
|
|||||||
contentDiv.innerText = `${gifts === 1 ? '' : "They've gifted " + gifts + " subscription in the channel."}`;
|
contentDiv.innerText = `${gifts === 1 ? '' : "They've gifted " + gifts + " subscription in the channel."}`;
|
||||||
|
|
||||||
if (giftedUsers.length > 1)
|
if (giftedUsers.length > 1)
|
||||||
AddMessageItem(instance, data.messageId);
|
AddMessageItem(instance);
|
||||||
|
|
||||||
// Send individual notifications for every gifted user
|
// Send individual notifications for every gifted user
|
||||||
for (const username of data.gifted_usernames)
|
for (const username of data.gifted_usernames)
|
||||||
@@ -2401,7 +2401,7 @@ async function KickGiftToUser(gifter, username) {
|
|||||||
// Set the text
|
// Set the text
|
||||||
titleDiv.innerText = `${gifter} gifted a sub to ${username}`;
|
titleDiv.innerText = `${gifter} gifted a sub to ${username}`;
|
||||||
|
|
||||||
AddMessageItem(instance, data.messageId);
|
AddMessageItem(instance);
|
||||||
}
|
}
|
||||||
|
|
||||||
async function KickRewardRedeemed(data) {
|
async function KickRewardRedeemed(data) {
|
||||||
|
|||||||
Reference in New Issue
Block a user