mirror of
https://github.com/nuttylmao/nutty.gg.git
synced 2026-09-19 04:00:59 -04:00
Added Fourthwall support for Order Placed
This commit is contained in:
+11
-11
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user