Added Fourthwall support for Order Placed

This commit is contained in:
nuttylmao
2025-03-29 06:45:23 +11:00
parent 2d13230cff
commit 46d7b698e0
3 changed files with 102 additions and 22 deletions
+11 -11
View File
@@ -218,11 +218,6 @@ client.on('TipeeeStream.Donation', (response) => {
TipeeeStreamDonation(response.data);
})
client.on('Fourthwall.GiftPurchase', (response) => {
console.debug(response.data);
FourthwallGiftPurchase(response.data);
})
client.on('Fourthwall.OrderPlaced', (response) => {
console.debug(response.data);
FourthwallOrderPlaced(response.data);
@@ -238,6 +233,11 @@ client.on('Fourthwall.SubscriptionPurchased', (response) => {
FourthwallSubscriptionPurchased(response.data);
})
client.on('Fourthwall.GiftPurchase', (response) => {
console.debug(response.data);
FourthwallGiftPurchase(response.data);
})
client.on('Fourthwall.GiftDrawStarted', (response) => {
console.debug(response.data);
FourthwallGiftDrawStarted(response.data);
@@ -832,12 +832,6 @@ function TipeeeStreamDonation(data) {
ShowAlert(message, 'tipeeeStream');
}
function FourthwallGiftPurchase(data) {
if (!showFourthwallAlerts)
return;
}
function FourthwallOrderPlaced(data) {
if (!showFourthwallAlerts)
return;
@@ -856,6 +850,12 @@ function FourthwallSubscriptionPurchased(data) {
}
function FourthwallGiftPurchase(data) {
if (!showFourthwallAlerts)
return;
}
function FourthwallGiftDrawStarted(data) {
if (!showFourthwallAlerts)
return;