-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.js
106 lines (93 loc) · 43.3 KB
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
const https = require('https');
module.exports.GetChannelData = function (channelName)
{
//Example URL: https://api.streamelements.com/kappa/v2/channels/c9judite
//Response: {"profile":{"social":{"facebook":"https://www.facebook.com/c9judite","twitter":"https://twitter.com/judite","youtube":"https://www.youtube.com/c/Juditec9","instagram":"https://instagram.com/c9judite","website":"https://www.twitch.tv/c9judite","discord":"http://discord.gg/judite"},"headerImage":"https://cdn.streamelements.com/uploads/08095808-df3c-423d-a033-0cfbdbcfc139.png","language":"en","title":"Judite"},"provider":"twitch","broadcasterType":"partner","suspended":false,"_id":"5989df9d5fbe120a16fd3ae0","isPartner":true,"providerId":"72960162","displayName":"c9judite","username":"c9judite","avatar":"https://static-cdn.jtvnw.net/jtv_user_pictures/f5e303a3-d09a-460f-8970-df60ce86ca0f-profile_image-300x300.png","alias":"c9judite","inactive":false}
return new Promise((resolve, reject) => {
https.get(`https://api.streamelements.com/kappa/v2/channels/${channelName}`, (resp) => {
let data = '';
resp.on('data', (chunk) => {
data += chunk;
});
resp.on('end', () => {
try{
const parsedData = JSON.parse(data);
resolve(parsedData);
}catch(e){
reject(e.message);
}
});
}).on("error", (e) => {
reject(e.message);
});
});
}
module.exports.GetLoyaltyPoints = function (channelId, username)
{
//Example URL: https://api.streamelements.com/kappa/v2/points/5989df9d5fbe120a16fd3ae0/naoconhecido
//Response: {"channel":"5989df9d5fbe120a16fd3ae0","username":"naoconhecido","points":18418,"pointsAlltime":113518,"watchtime":696220,"rank":555}
return new Promise((resolve, reject) => {
https.get(`https://api.streamelements.com/kappa/v2/points/${channelId}/${username}`, (resp) => {
let data = '';
resp.on('data', (chunk) => {
data += chunk;
});
resp.on('end', () => {
try{
const parsedData = JSON.parse(data);
resolve(parsedData);
}catch(e){
reject(e.message);
}
});
}).on("error", (err) => {
reject(e.message);
});
});
}
module.exports.GetLoyaltyData = function (channelId)
{
//Example URL: https://api.streamelements.com/kappa/v2/loyalty/5989df9d5fbe120a16fd3ae0
//Response: {"loyalty":{"bonuses":{"follow":0,"tip":5,"subscriber":110,"cheer":15,"host":0},"name":"lupicoins","enabled":true,"amount":1,"subscriberMultiplier":2,"ignored":["streamelements","jschritte","lurxx","advogg","lolrankbot","blindaobot","bielsm7","itsvodoo","aten","treadmillthewhale","winsock","3jask","commanderroot"]},"_id":"5989df9d5fbe120a16fd3af7","updatedAt":"2021-10-08T17:32:03.781Z","createdAt":"2017-08-08T15:58:21.096Z","channel":"5989df9d5fbe120a16fd3ae0"}
return new Promise((resolve, reject) => {
https.get(`https://api.streamelements.com/kappa/v2/loyalty/${channelId}`, (resp) => {
let data = '';
resp.on('data', (chunk) => {
data += chunk;
});
resp.on('end', () => {
try{
const parsedData = JSON.parse(data);
resolve(parsedData);
}catch(e){
reject(e.message);
}
});
}).on("error", (err) => {
reject(e.message);
});
});
}
module.exports.GetLoyaltyStoreItems = function (channelId)
{
//Example URL: https://api.streamelements.com/kappa/v2/store/5989df9d5fbe120a16fd3ae0/items?source=website
//Response: [{"bot":{"sendResponse":true,"identifier":"item"},"cooldown":{"user":86400,"global":30,"category":0},"quantity":{"total":38,"current":0},"alert":{"graphics":{"duration":8,"src":"https://cdn.streamelements.com/uploads/6f931d52-3d6f-400a-bc03-bd4e3809858d.png","type":"image"},"audio":{"volume":0.5,"src":null},"enabled":false},"subscriberOnly":false,"sources":["website"],"userInput":[],"order":19,"_id":"5dded0dc7ef4a767177cc1a7","enabled":true,"featured":false,"name":"R$ 10 Steam","description":"Apenas Steam Brasil","type":"code","cost":7200,"allowMessages":false,"public":false,"channel":"5989df9d5fbe120a16fd3ae0","createdAt":"2019-11-27T19:39:08.231Z","updatedAt":"2021-10-07T19:31:56.349Z","thumbnail":"https://cdn.streamelements.com/uploads/6f931d52-3d6f-400a-bc03-bd4e3809858d.png"},{"bot":{"sendResponse":true,"identifier":"vip"},"cooldown":{"user":10,"global":10,"category":0},"quantity":{"total":-1},"alert":{"graphics":{"duration":8,"src":"https://cdn.streamelements.com/uploads/bc2f18e7-0eb0-4355-acd7-e6648d5ffb9c.png","type":"image"},"audio":{"volume":0.5,"src":"https://cdn.streamelements.com/uploads/f43db7a6-8b1f-4cfd-9382-1e7d318c2adf.mp3"},"enabled":true},"subscriberOnly":false,"sources":["website"],"userInput":["Nick na Twitch"],"order":25,"_id":"5dded12e1c435cf5b4088a2f","enabled":false,"featured":false,"name":"VIP","description":"VIP no canal da twitch: c9judite!","type":"perk","cost":40000,"allowMessages":false,"public":false,"channel":"5989df9d5fbe120a16fd3ae0","createdAt":"2019-11-27T19:40:30.924Z","updatedAt":"2021-10-07T17:42:20.996Z"},{"bot":{"sendResponse":true,"identifier":"item"},"cooldown":{"user":86400,"global":30,"category":0},"quantity":{"total":3,"current":3},"alert":{"graphics":{"duration":8,"src":"https://cdn.streamelements.com/uploads/3906071a-dcd2-4bf9-bd47-f58dba579142.png","type":"image"},"audio":{"volume":0.5,"src":null},"enabled":false},"subscriberOnly":false,"sources":["website"],"userInput":[],"order":22,"_id":"5dded22cf90c087a3845ac82","enabled":true,"featured":false,"name":"R$ 50 NetFlix","description":"Apenas no Brasil.","type":"code","cost":30000,"allowMessages":false,"public":false,"channel":"5989df9d5fbe120a16fd3ae0","createdAt":"2019-11-27T19:44:44.340Z","updatedAt":"2021-10-07T17:42:20.987Z","thumbnail":"https://cdn.streamelements.com/uploads/3906071a-dcd2-4bf9-bd47-f58dba579142.png"},{"bot":{"sendResponse":true,"identifier":"item"},"cooldown":{"user":86400,"global":30,"category":0},"quantity":{"total":3,"current":2},"alert":{"graphics":{"duration":8,"src":"https://cdn.streamelements.com/uploads/0e0a23d8-e95a-4856-a34c-13d6f9628014.png","type":"image"},"audio":{"volume":0.5,"src":null},"enabled":false},"subscriberOnly":false,"sources":["website","extension"],"userInput":[],"order":18,"_id":"5dded279399f4876be1d2773","enabled":true,"featured":false,"name":"1 mês Spotify","description":"Apenas para o Brasil.","type":"code","cost":12000,"allowMessages":false,"public":false,"channel":"5989df9d5fbe120a16fd3ae0","createdAt":"2019-11-27T19:46:01.060Z","updatedAt":"2021-10-07T22:48:28.902Z","thumbnail":"https://cdn.streamelements.com/uploads/0e0a23d8-e95a-4856-a34c-13d6f9628014.png"},{"bot":{"sendResponse":false,"identifier":"item"},"cooldown":{"user":10,"global":0,"category":0},"quantity":{"total":-1},"alert":{"graphics":{"duration":8,"src":"https://cdn.streamelements.com/uploads/3d508b74-082c-48a2-bf6a-0a71026850cc.png","type":"image"},"audio":{"volume":0.24,"src":"https://cdn.streamelements.com/uploads/285d153b-9dd3-4a00-ba82-560a106e1e1e.ogg"},"enabled":true},"subscriberOnly":false,"sources":["website"],"userInput":["Nick na twitch"],"order":0,"_id":"5de06b292e2cdf4b14875277","enabled":true,"featured":false,"name":"Subscriber","description":"1 mês de subscriber gratuito no canal: c9judite","type":"perk","cost":30000,"allowMessages":false,"public":false,"channel":"5989df9d5fbe120a16fd3ae0","createdAt":"2019-11-29T00:49:45.665Z","updatedAt":"2021-08-25T04:41:40.897Z"},{"bot":{"sendResponse":true,"identifier":"item"},"cooldown":{"user":86400,"global":0,"category":0},"quantity":{"total":5,"current":5},"alert":{"graphics":{"duration":8,"src":"https://cdn.streamelements.com/uploads/e54cde75-a4f2-4e0d-908b-fafa18af58a8.png","type":"image"},"audio":{"volume":0.5,"src":null},"enabled":false},"subscriberOnly":false,"sources":["website"],"userInput":[],"order":20,"_id":"5de071645cfd3d43123fa4d6","enabled":true,"featured":false,"name":"R$ 30 Battlenet","description":"Resgatar direto no site da battlenet","type":"code","cost":21000,"allowMessages":false,"public":false,"channel":"5989df9d5fbe120a16fd3ae0","createdAt":"2019-11-29T01:16:20.119Z","updatedAt":"2021-10-07T17:42:20.991Z"},{"bot":{"sendResponse":true,"identifier":"item"},"cooldown":{"user":86400,"global":0,"category":0},"quantity":{"total":4,"current":0},"alert":{"graphics":{"duration":8,"src":"https://cdn.streamelements.com/uploads/3e5546e3-e646-41c3-a534-d5e3d71f5ebb.png","type":"image"},"audio":{"volume":0.5,"src":null},"enabled":false},"subscriberOnly":false,"sources":["website"],"userInput":[],"order":23,"_id":"5de07238ffa9cf60114e2873","enabled":true,"featured":false,"name":"R$25 Uber","description":"Cartão Pré-Pago - Brasil","type":"code","cost":19000,"allowMessages":false,"public":false,"channel":"5989df9d5fbe120a16fd3ae0","createdAt":"2019-11-29T01:19:52.947Z","updatedAt":"2021-10-07T18:51:52.503Z","thumbnail":"https://cdn.streamelements.com/uploads/3e5546e3-e646-41c3-a534-d5e3d71f5ebb.png"},{"bot":{"sendResponse":true,"identifier":"item"},"cooldown":{"user":86400,"global":0,"category":0},"quantity":{"total":8,"current":0},"alert":{"graphics":{"duration":8,"type":"image","src":"https://cdn.streamelements.com/uploads/d5870200-d238-4dcc-b5df-cd64b1766f8d.png"},"audio":{"volume":0.5,"src":null},"enabled":false},"subscriberOnly":false,"sources":["website"],"userInput":[],"order":24,"_id":"5df3e5d2cd5cb568f5bd078e","enabled":true,"featured":false,"name":"R$30 - PSN","description":"Os pins PSN devem ser resgatados em https://www.portaldoscreditos.com.br/redeem","type":"code","cost":19000,"allowMessages":false,"public":false,"channel":"5989df9d5fbe120a16fd3ae0","createdAt":"2019-12-13T19:26:10.424Z","updatedAt":"2021-10-08T15:43:26.708Z","thumbnail":"https://cdn.streamelements.com/uploads/d5870200-d238-4dcc-b5df-cd64b1766f8d.png"},{"bot":{"sendResponse":true,"identifier":"item"},"cooldown":{"user":86400,"global":20,"category":0},"quantity":{"total":46,"current":0},"alert":{"graphics":{"duration":8,"src":"https://cdn.streamelements.com/uploads/b9d1df41-b58c-4b83-a4a7-667ba4487cf2.png","type":"image"},"audio":{"volume":0.5,"src":null},"enabled":false},"subscriberOnly":false,"sources":["website"],"userInput":[],"order":17,"_id":"5dfa4bc37d697b40dfbb2171","enabled":true,"featured":false,"name":"405 Riot Points","description":"Apenas servidor brasileiro.","type":"code","cost":6500,"allowMessages":false,"public":false,"channel":"5989df9d5fbe120a16fd3ae0","createdAt":"2019-12-18T15:54:43.734Z","updatedAt":"2021-10-08T13:35:57.851Z","thumbnail":"https://cdn.streamelements.com/uploads/b9d1df41-b58c-4b83-a4a7-667ba4487cf2.png"},{"bot":{"sendResponse":true,"identifier":"item"},"cooldown":{"user":86400,"global":10,"category":0},"quantity":{"total":13,"current":0},"alert":{"graphics":{"duration":8,"src":"https://cdn.streamelements.com/uploads/2a0cb16a-37f1-4b5a-bd1c-c279b0a8a05f.png","type":"image"},"audio":{"volume":0.5,"src":null},"enabled":false},"subscriberOnly":false,"sources":["website"],"userInput":[],"order":26,"_id":"5e2e18ac34c6dffeb2a8be22","enabled":true,"featured":false,"name":"850 Riot Points","description":"Apenas servidor brasileiro.","type":"code","cost":13000,"allowMessages":false,"public":false,"channel":"5989df9d5fbe120a16fd3ae0","createdAt":"2020-01-26T22:54:36.874Z","updatedAt":"2021-10-07T18:08:10.914Z","thumbnail":"https://cdn.streamelements.com/uploads/2a0cb16a-37f1-4b5a-bd1c-c279b0a8a05f.png"},{"bot":{"sendResponse":true,"identifier":"item"},"cooldown":{"user":86400,"global":30,"category":0},"quantity":{"total":0,"current":0},"alert":{"graphics":{"duration":8,"src":"https://cdn.streamelements.com/uploads/a79ae5f3-7658-4d4a-b1c9-e5cbf52075ea.png","type":"image"},"audio":{"volume":0.5,"src":null},"enabled":false},"subscriberOnly":false,"sources":["website"],"userInput":[],"order":21,"_id":"5e38c3590fcae012721f9016","enabled":true,"featured":false,"name":"R$15 Google Play","description":"O código deve ser utilizado em até 6 meses.\nInstruções para resgatar:\nhttps://www.portaldoscreditos.com.br/redeem . Caso não consiga, tente direto na google play brasil\n\nO código deve ser utilizado em até 6 meses.","type":"code","cost":11000,"allowMessages":false,"public":false,"channel":"5989df9d5fbe120a16fd3ae0","createdAt":"2020-02-04T01:05:29.702Z","updatedAt":"2021-10-08T02:30:44.633Z","thumbnail":"https://cdn.streamelements.com/uploads/a79ae5f3-7658-4d4a-b1c9-e5cbf52075ea.png"},{"bot":{"sendResponse":true,"identifier":"item"},"cooldown":{"user":10,"global":0,"category":0},"quantity":{"total":1,"current":1},"alert":{"graphics":{"duration":8,"src":"https://cdn.streamelements.com/uploads/c4996076-c4e4-4666-926d-c22944c2f598.png","type":"image"},"audio":{"volume":0.5,"src":null},"enabled":false},"subscriberOnly":false,"sources":["website"],"userInput":["Endereço de Entrega","Nome Completo"],"order":46,"_id":"5e5e9d30cc13da8d228ef756","enabled":true,"featured":false,"name":"HyperX Alloy Elite RGB","description":"Teclado Mecânico Gamer HyperX Alloy Elite, RGB, Switch Cherry MX Red","type":"perk","cost":400000,"allowMessages":false,"categoryName":"","public":false,"channel":"5989df9d5fbe120a16fd3ae0","createdAt":"2020-03-03T18:08:48.283Z","updatedAt":"2021-09-02T01:37:43.236Z"},{"bot":{"sendResponse":true,"identifier":"item"},"cooldown":{"user":10,"global":0,"category":0},"quantity":{"total":1,"current":0},"alert":{"graphics":{"duration":8,"src":"https://cdn.streamelements.com/uploads/ace7d4da-1110-46d6-abd9-ca8dfc9526ca.png","type":"image"},"audio":{"volume":0.5,"src":null},"enabled":false},"subscriberOnly":false,"sources":["website"],"userInput":["Nome completo","Endereço de Entrega"],"order":44,"_id":"5e5e9e79ecb05472234691ea","enabled":false,"featured":false,"name":"HyperX Pulsefire FPS PRO RGB","description":"Mouse Gamer HyperX Pulsefire FPS PRO RGB 16000dpi","type":"perk","cost":135000,"allowMessages":false,"categoryName":"","public":false,"channel":"5989df9d5fbe120a16fd3ae0","createdAt":"2020-03-03T18:14:17.424Z","updatedAt":"2021-10-07T17:42:20.992Z"},{"bot":{"sendResponse":true,"identifier":"item"},"cooldown":{"user":10,"global":0,"category":0},"quantity":{"total":1,"current":1},"alert":{"graphics":{"duration":8,"type":"image","src":"https://cdn.streamelements.com/uploads/84fa8a0a-df67-49ea-88c1-b98a92c306ca.png"},"audio":{"volume":0.5,"src":null},"enabled":false},"subscriberOnly":false,"sources":["website"],"userInput":["Nome Completo","Endereço de Entrega"],"order":47,"_id":"5e5e9ee7490bef0ecffd4b9e","enabled":true,"featured":false,"name":"HyperX Cloud Revolver S 7.1","description":"Headset Gamer HyperX Cloud Revolver S 7.1 Dolby Digital","type":"perk","cost":430000,"allowMessages":false,"categoryName":"","public":false,"channel":"5989df9d5fbe120a16fd3ae0","createdAt":"2020-03-03T18:16:07.353Z","updatedAt":"2021-09-02T01:37:43.250Z"},{"bot":{"sendResponse":true,"identifier":"item"},"cooldown":{"user":10,"global":0,"category":0},"quantity":{"total":1,"current":1},"alert":{"graphics":{"duration":8,"src":"https://cdn.streamelements.com/uploads/986ea421-d806-4e7a-be3b-369feb7fedac.png","type":"image"},"audio":{"volume":0.5,"src":null},"enabled":false},"subscriberOnly":false,"sources":["website"],"userInput":["Nome Completo","Endereço de Entrega"],"order":45,"_id":"5e5e9f4bab29ae84c3f23c7f","enabled":true,"featured":false,"name":"HyperX Fury, 8GB, 2666MHz, DDR4","description":"Memória HyperX Fury, 8GB, 2666MHz, DDR4, CL16, Preto","type":"perk","cost":205000,"allowMessages":false,"categoryName":"","public":false,"channel":"5989df9d5fbe120a16fd3ae0","createdAt":"2020-03-03T18:17:47.959Z","updatedAt":"2021-09-02T01:37:43.240Z"},{"bot":{"sendResponse":true,"identifier":"item"},"cooldown":{"user":10,"global":0,"category":0},"quantity":{"total":1,"current":1},"alert":{"graphics":{"duration":8,"src":"https://cdn.streamelements.com/uploads/e520b48c-93f9-46c0-8b3c-037e6bde9817.png","type":"image"},"audio":{"volume":0.5,"src":null},"enabled":false},"subscriberOnly":false,"sources":["website"],"userInput":["Nome Completo","Endereço Completo","CPF"],"order":36,"_id":"5e6feb66ac935d2a317a23dd","enabled":true,"featured":false,"name":"Arcade Team Minis","description":"Arcade Riven, Sona, Miss Fortune, Ezreal e Ahri - \n\nEntrega prevista para dez/2021 - Março/2022 devido ao Covid","type":"perk","cost":135000,"allowMessages":false,"categoryName":"","public":false,"channel":"5989df9d5fbe120a16fd3ae0","createdAt":"2020-03-16T21:11:02.192Z","updatedAt":"2021-09-02T01:37:43.150Z"},{"bot":{"sendResponse":true,"identifier":"item"},"cooldown":{"user":10,"global":0,"category":0},"quantity":{"total":1,"current":1},"alert":{"graphics":{"duration":8,"src":"https://cdn.streamelements.com/uploads/fad23fbc-2fc6-4788-bbdb-a32570ef60f6.png","type":"image"},"audio":{"volume":0.5,"src":null},"enabled":false},"subscriberOnly":false,"sources":["website"],"userInput":["Nome COmpleto","CPF","Endereço de Entrega"],"order":40,"_id":"5e737a6f29f728670bcd935c","enabled":true,"featured":false,"name":"Odyssey Team Minis","description":"Odyssey Jinx, Malphite, Yasuo, Ziggs e Sona - Entrega prevista para dez/2021 - Março/2022 devido ao Covid","type":"perk","cost":135000,"allowMessages":false,"categoryName":"","public":false,"channel":"5989df9d5fbe120a16fd3ae0","createdAt":"2020-03-19T13:58:07.148Z","updatedAt":"2021-09-02T01:37:43.183Z"},{"bot":{"sendResponse":true,"identifier":"item"},"cooldown":{"user":10,"global":0,"category":0},"quantity":{"total":1,"current":1},"alert":{"graphics":{"duration":8,"src":"https://cdn.streamelements.com/uploads/75c2ab87-77df-4b1b-8ec0-a940afa1298c.png","type":"image"},"audio":{"volume":0.5,"src":null},"enabled":false},"subscriberOnly":false,"sources":["website"],"userInput":["Nome Completo","Cpf","Endereço de Entrega"],"order":39,"_id":"5e747cb538f08d530bf80e2f","enabled":true,"featured":false,"name":"True Damage Team Minis","description":"True Damage Ekko, Akali, Qiyana, Senna e Yasuo - Entrega prevista para dez/2021 - Março/2022 devido ao Covid","type":"perk","cost":135000,"allowMessages":false,"categoryName":"","public":false,"channel":"5989df9d5fbe120a16fd3ae0","createdAt":"2020-03-20T08:20:05.237Z","updatedAt":"2021-09-02T01:37:43.142Z"},{"bot":{"sendResponse":true,"identifier":"item"},"cooldown":{"user":10,"global":0,"category":0},"quantity":{"total":1,"current":1},"alert":{"graphics":{"duration":8,"src":"https://cdn.streamelements.com/uploads/9d1315c0-cd91-4fb7-b469-9999728e5a07.png","type":"image"},"audio":{"volume":0.5,"src":null},"enabled":false},"subscriberOnly":false,"sources":["website"],"userInput":["Nome Completo","Cpf","Endereço de Entrega"],"order":38,"_id":"5e747d1b367f1d1048dbdf40","enabled":true,"featured":false,"name":"Pool Party Team Minis","description":"Pool Party Draven, Leona, Lulu, Graves e Lee sin -\n\nEntrega prevista para dez/2021 - Março/2022 devido ao Covid","type":"perk","cost":135000,"allowMessages":false,"categoryName":"","public":false,"channel":"5989df9d5fbe120a16fd3ae0","createdAt":"2020-03-20T08:21:47.719Z","updatedAt":"2021-09-02T01:37:43.213Z"},{"bot":{"sendResponse":true,"identifier":"item"},"cooldown":{"user":10,"global":0,"category":0},"quantity":{"total":1,"current":1},"alert":{"graphics":{"duration":8,"src":"https://cdn.streamelements.com/uploads/a302b2c9-caac-4df3-8dc3-d76852846870.png","type":"image"},"audio":{"volume":0.5,"src":null},"enabled":false},"subscriberOnly":false,"sources":["website"],"userInput":["Nome Completo","CPF","Endereço de Entrega"],"order":37,"_id":"5e747de719ecd845a9688bc2","enabled":true,"featured":false,"name":"Project Team Minis","description":"Project Vi, Leona, Vayne, Ekko e Fiora - \n\nEntrega prevista para dez/2021 - Março/2022 devido ao Covid","type":"perk","cost":135000,"allowMessages":false,"categoryName":"","public":false,"channel":"5989df9d5fbe120a16fd3ae0","createdAt":"2020-03-20T08:25:11.374Z","updatedAt":"2021-09-02T01:37:43.181Z"},{"bot":{"sendResponse":true,"identifier":"item"},"cooldown":{"user":10,"global":0,"category":0},"quantity":{"total":1,"current":1},"alert":{"graphics":{"duration":8,"src":"https://cdn.streamelements.com/uploads/7092c895-ea77-4ff6-8aff-bbc538335b4d.png","type":"image"},"audio":{"volume":0.5,"src":null},"enabled":false},"subscriberOnly":false,"sources":["website"],"userInput":["Nome Completo","CPF","Endereço de Entrega"],"order":35,"_id":"5e747e7bbd88c1f2ce95d07c","enabled":true,"featured":false,"name":"K/DA Team Minis Set","description":"K/DA Ahri, Evelynn, Kai'Sa e Akali\n\nEntrega prevista para dez/2021 - Março/2022 devido ao Covid","type":"perk","cost":125000,"allowMessages":false,"categoryName":"","public":false,"channel":"5989df9d5fbe120a16fd3ae0","createdAt":"2020-03-20T08:27:39.980Z","updatedAt":"2021-09-02T01:37:43.317Z"},{"bot":{"sendResponse":true,"identifier":"item"},"cooldown":{"user":10,"global":0,"category":0},"quantity":{"total":1,"current":0},"alert":{"graphics":{"duration":8,"src":"https://cdn.streamelements.com/uploads/91d46a8c-2932-4009-b72c-3e03c17e1c33.png","type":"image"},"audio":{"volume":0.5,"src":null},"enabled":false},"subscriberOnly":false,"sources":["website"],"userInput":["Nome Completo","CPF","Endereço de Entrega"],"order":41,"_id":"5e747ef810e7ec7fd2c036b5","enabled":true,"featured":false,"name":"Yordle Team Minis","description":"Yordle Lulu, Tristana, Teemo, Ziggs e Veigar - Entrega prevista para dez/2021 - Março/2022 devido ao Covid","type":"perk","cost":135000,"allowMessages":false,"categoryName":"","public":false,"channel":"5989df9d5fbe120a16fd3ae0","createdAt":"2020-03-20T08:29:44.924Z","updatedAt":"2021-09-28T16:35:12.406Z"},{"bot":{"sendResponse":true,"identifier":"item"},"cooldown":{"user":10,"global":0,"category":0},"quantity":{"total":1,"current":1},"alert":{"graphics":{"duration":8,"src":"https://cdn.streamelements.com/uploads/1fc317ed-9308-4b47-a203-713768ec3394.png","type":"image"},"audio":{"volume":0.5,"src":null},"enabled":false},"subscriberOnly":false,"sources":["website"],"userInput":["Nome Completo","Endereço de Entrega","CPF"],"order":42,"_id":"5e909e64a404277718ad9393","enabled":true,"featured":false,"name":"Nendoroid Ezreal","description":"https://youtu.be/7BIk8xR-skI - Entrega prevista para dez/2021 - Março/2022 devido ao Covid","type":"perk","cost":135000,"allowMessages":false,"categoryName":"","public":false,"channel":"5989df9d5fbe120a16fd3ae0","createdAt":"2020-04-10T16:27:16.446Z","updatedAt":"2021-09-02T01:37:43.222Z"},{"bot":{"sendResponse":true,"identifier":"item"},"cooldown":{"user":10,"global":0,"category":0},"quantity":{"total":1,"current":0},"alert":{"graphics":{"duration":8,"src":"https://cdn.streamelements.com/uploads/d15a4d43-21c2-4876-bfe3-1daf1bf9e7e6.png","type":"image"},"audio":{"volume":0.5,"src":null},"enabled":false},"subscriberOnly":false,"sources":["website"],"userInput":["Nome Completo","Endereço de Entrega","CPF"],"order":29,"_id":"5e909f09e3f8fc7607896125","enabled":true,"featured":false,"name":"Vayne Figure","description":"Height: 4.5 in / 116 mm\nWidth: 4.1 in / 106 mm - Entrega prevista para dez/2021 - Março/2022 devido ao Covid","type":"perk","cost":60000,"allowMessages":false,"categoryName":"","public":false,"channel":"5989df9d5fbe120a16fd3ae0","createdAt":"2020-04-10T16:30:01.130Z","updatedAt":"2021-09-02T01:37:43.090Z"},{"bot":{"sendResponse":true,"identifier":"item"},"cooldown":{"user":10,"global":0,"category":0},"quantity":{"total":1,"current":1},"alert":{"graphics":{"duration":8,"src":"https://cdn.streamelements.com/uploads/36912902-7669-45e6-be7e-f313ed240254.png","type":"image"},"audio":{"volume":0.5,"src":null},"enabled":false},"subscriberOnly":false,"sources":["website"],"userInput":["Nome Completo","Endereço de Entrega","CPF"],"order":43,"_id":"5e909fbf6a1c002439c61d6b","enabled":true,"featured":false,"name":"FIZZ ONESIE","description":"Unisex and one size fits most. - Entrega prevista para dez/2021 - Março/2022 devido ao Covid","type":"perk","cost":380000,"allowMessages":false,"categoryName":"","public":false,"channel":"5989df9d5fbe120a16fd3ae0","createdAt":"2020-04-10T16:33:03.608Z","updatedAt":"2021-09-02T01:37:43.232Z"},{"bot":{"sendResponse":true,"identifier":"item"},"cooldown":{"user":10,"global":0,"category":0},"quantity":{"total":1,"current":1},"alert":{"graphics":{"duration":8,"src":"https://cdn.streamelements.com/uploads/39d13da2-96d8-43b2-958f-56eb8e647c19.png","type":"image"},"audio":{"volume":0.5,"src":null},"enabled":false},"subscriberOnly":false,"sources":["website"],"userInput":["Nome Completo","Endereço de Entrega (incluir CEP)","CPF"],"order":32,"_id":"5e926da162abec7347d1aa08","enabled":true,"featured":false,"name":"Ekko Figure","description":"Height: 4.8 in / 12.2 cm\nWidth: 3.3 in / 8.3 cm - \n\nEntrega prevista para dez/2021 - Março/2022 devido ao Covid\n\nEntrega prevista para dez/2021 - Março/2022 devido ao Covid","type":"perk","cost":90000,"allowMessages":false,"categoryName":"","public":false,"channel":"5989df9d5fbe120a16fd3ae0","createdAt":"2020-04-12T01:23:45.721Z","updatedAt":"2021-09-11T23:57:50.495Z"},{"bot":{"sendResponse":true,"identifier":"item"},"cooldown":{"user":10,"global":0,"category":0},"quantity":{"total":1,"current":0},"alert":{"graphics":{"duration":8,"src":"https://cdn.streamelements.com/uploads/36d0ef42-8c3d-41a1-ab97-8177a2bc0c6c.png","type":"image"},"audio":{"volume":0.5,"src":null},"enabled":false},"subscriberOnly":false,"sources":["website"],"userInput":["Nome Completo","CPF","Endereço de entrega (incluir CEP)"],"order":34,"_id":"5e926e50e3f8fc99c09ad6e1","enabled":true,"featured":false,"name":"Taric Figure","description":"Height: 4.4 in / 11 cm\nWidth: 3.4 in / 8.5 cm - Entrega prevista para dez/2021 - Março/2022 devido ao Covid\n\nEntrega prevista para dez/2021 - Março/2022 devido ao Covid\nPVC/ABS","type":"perk","cost":90000,"allowMessages":false,"categoryName":"","public":false,"channel":"5989df9d5fbe120a16fd3ae0","createdAt":"2020-04-12T01:26:40.270Z","updatedAt":"2021-09-20T21:46:36.727Z"},{"bot":{"sendResponse":true,"identifier":"item"},"cooldown":{"user":10,"global":0,"category":0},"quantity":{"total":1,"current":0},"alert":{"graphics":{"duration":8,"src":"https://cdn.streamelements.com/uploads/04f265cd-afd3-4ef0-af86-9a71e3c2720e.png","type":"image"},"audio":{"volume":0.5,"src":null},"enabled":false},"subscriberOnly":false,"sources":["website"],"userInput":["Nome Completo","CPF","Endereço de Entrega"],"order":33,"_id":"5e926f61d02a03c0580ea13a","enabled":true,"featured":false,"name":"Yasuo Figure","description":"Height: 4.8 in / 12.3 cm\nWidth: 4.3 in / 11.0 cm - Entrega prevista para dez/2021 - Março/2022 devido ao Covid\n\nEntrega prevista para dez/2021 - Março/2022 devido ao Covid","type":"perk","cost":90000,"allowMessages":false,"categoryName":"","public":false,"channel":"5989df9d5fbe120a16fd3ae0","createdAt":"2020-04-12T01:31:13.485Z","updatedAt":"2021-09-02T01:37:43.179Z"},{"bot":{"sendResponse":true,"identifier":"item"},"cooldown":{"user":10,"global":0,"category":0},"quantity":{"total":-1,"current":-1},"alert":{"graphics":{"duration":8,"src":"https://cdn.streamelements.com/uploads/981eedd5-e29b-4c24-9bc4-16507b0f182c.png","type":"image"},"audio":{"volume":0.5,"src":null},"enabled":false},"subscriberOnly":false,"sources":["website"],"userInput":["Twitch User"],"order":48,"_id":"5eb05c7e483120211df969c0","enabled":false,"featured":false,"name":"VAR","description":"Caso você ache que tenha sido banido injustamente, você poderá comprar esse item e nossa equipe de moderadores irá analisar se existe alguma possibilidade de UNBAN. \nESSE ITEM NÃO GARANTE QUE VOCÊ iRÁ SER DESBANIDo","type":"perk","cost":5000,"allowMessages":false,"categoryName":"","public":false,"channel":"5989df9d5fbe120a16fd3ae0","createdAt":"2020-05-04T18:18:38.840Z","updatedAt":"2021-10-07T17:42:20.991Z"},{"bot":{"sendResponse":true,"identifier":"item"},"cooldown":{"user":10,"global":0,"category":0},"quantity":{"total":1,"current":1},"alert":{"graphics":{"duration":8,"src":"https://cdn.streamelements.com/uploads/2b2bc485-31a4-4a31-accd-965fdc2d187f.png","type":"image"},"audio":{"volume":0.5,"src":null},"enabled":false},"subscriberOnly":false,"sources":["website"],"userInput":["Nome Completo","CPF","Endereço de Entrega (Rua, Numeração, Bairro, Cidade, Estado, CEP)","Telefone"],"order":4,"_id":"5ede69be5e70335b23bf89ef","enabled":true,"featured":false,"name":"Camisa Oficial (M) - Cloud 9","description":"Patrocinio: CLOUD 9","type":"perk","cost":250000,"allowMessages":false,"categoryName":"","public":false,"channel":"5989df9d5fbe120a16fd3ae0","createdAt":"2020-06-08T16:39:26.098Z","updatedAt":"2021-09-02T01:37:42.977Z"},{"bot":{"sendResponse":true,"identifier":"item"},"cooldown":{"user":10,"global":0,"category":0},"quantity":{"total":1,"current":1},"alert":{"graphics":{"duration":8,"src":"https://cdn.streamelements.com/uploads/a211fe79-8aff-4118-bad9-c978a2e852c4.png","type":"image"},"audio":{"volume":0.5,"src":null},"enabled":false},"subscriberOnly":false,"sources":["website"],"userInput":["NOME COMPLETO","ENDEREÇO DE ENTREGA COMPLETO","CPF","TELEFONE"],"order":3,"_id":"5ede6b719f45d5387a19f82d","enabled":true,"featured":false,"name":"Camisa Oficial (G) - Cloud 9","description":"Patrocinio: CLOUD 9","type":"perk","cost":250000,"allowMessages":false,"categoryName":"","public":false,"channel":"5989df9d5fbe120a16fd3ae0","createdAt":"2020-06-08T16:46:41.800Z","updatedAt":"2021-09-02T01:37:42.927Z"},{"bot":{"sendResponse":true,"identifier":"item"},"cooldown":{"user":86400,"global":0,"category":0},"quantity":{"total":26,"current":25},"alert":{"graphics":{"duration":8,"src":"https://cdn.streamelements.com/uploads/24798d61-152d-4441-a7bc-aa73a6726557.png","type":"image"},"audio":{"volume":0.5,"src":null},"enabled":false},"subscriberOnly":false,"sources":["website"],"userInput":[],"order":28,"_id":"5edfc10069628548db2a59bb","enabled":true,"featured":false,"name":"285 Diamantes + 10% bonus","description":"Servidor Brasil\n\nInsira o código no link: https://www.portaldoscreditos.com.br/redeem","type":"code","cost":7000,"allowMessages":false,"categoryName":"","public":false,"channel":"5989df9d5fbe120a16fd3ae0","createdAt":"2020-06-09T17:04:00.720Z","updatedAt":"2021-10-08T00:27:41.854Z"},{"bot":{"sendResponse":true,"identifier":"item"},"cooldown":{"user":86400,"global":0,"category":0},"quantity":{"total":13,"current":0},"alert":{"graphics":{"duration":8,"type":"image","src":"https://cdn.streamelements.com/uploads/7e38386c-b2f9-4b8e-a406-a13fe6c7ef3c.png"},"audio":{"volume":0.5,"src":null},"enabled":false},"subscriberOnly":false,"sources":["website","extension"],"userInput":[],"order":27,"_id":"5ef4d4eff131ea58da0f3633","enabled":true,"featured":false,"name":"280 Valorant Points","description":"Apenas servidor brasileiro","type":"code","cost":6500,"allowMessages":false,"categoryName":"","public":false,"channel":"5989df9d5fbe120a16fd3ae0","createdAt":"2020-06-25T16:46:39.295Z","updatedAt":"2021-10-08T20:54:39.661Z","thumbnail":"https://cdn.streamelements.com/uploads/7e38386c-b2f9-4b8e-a406-a13fe6c7ef3c.png"},{"bot":{"sendResponse":true,"identifier":"item"},"cooldown":{"user":86400,"global":0,"category":0},"quantity":{"total":20,"current":19},"alert":{"graphics":{"duration":8,"src":"https://cdn.streamelements.com/uploads/405f1d2d-141c-4b8b-803d-76db835d2ea1.png","type":"image"},"audio":{"volume":0.5,"src":null},"enabled":false},"subscriberOnly":false,"sources":["website"],"userInput":[],"order":30,"_id":"5fdb7fcb9c79d52771d92828","enabled":true,"featured":false,"name":"R$ 10,00 Xbox Live Card (BR)","description":"Servidor Brasil\nOs pins devem ser resgatados em https://www.portaldoscreditos.com.br/redeem","type":"code","cost":6500,"allowMessages":false,"categoryName":"","public":false,"channel":"5989df9d5fbe120a16fd3ae0","createdAt":"2020-12-17T15:56:59.540Z","updatedAt":"2021-10-07T22:34:48.078Z","thumbnail":"https://cdn.streamelements.com/uploads/3e39e8ec-de4f-4fae-b9c1-997a64912829.png"},{"bot":{"sendResponse":true,"identifier":"item"},"cooldown":{"user":86400,"global":0,"category":0},"quantity":{"total":63,"current":63},"alert":{"graphics":{"duration":8,"type":"image","src":"https://cdn.streamelements.com/uploads/65cec658-43b6-4899-93ab-4714b630feff.png"},"audio":{"volume":0.5,"src":null},"enabled":false},"subscriberOnly":false,"sources":["website"],"userInput":[],"order":15,"_id":"6010dec13727032009e96be8","enabled":true,"featured":false,"name":"NP - 1 MÊS","description":"Patrocinio: NoPing","type":"code","cost":6500,"allowMessages":false,"categoryName":"","thumbnail":"https://cdn.streamelements.com/uploads/65cec658-43b6-4899-93ab-4714b630feff.png","public":false,"channel":"5989df9d5fbe120a16fd3ae0","createdAt":"2021-01-27T03:32:17.877Z","updatedAt":"2021-10-08T15:48:00.361Z"},{"bot":{"sendResponse":true,"identifier":"item"},"cooldown":{"user":86400,"global":0,"category":0},"quantity":{"total":28,"current":28},"alert":{"graphics":{"duration":8,"type":"image","src":"https://cdn.streamelements.com/uploads/730c0424-94da-4ee3-b65c-4f105ca2de44.png"},"audio":{"volume":0.5,"src":null},"enabled":false},"subscriberOnly":false,"sources":["website"],"userInput":[],"order":16,"_id":"6010e0564acf3917dbcc2eab","enabled":true,"featured":false,"name":"NP - 1 ANO","description":"Patrocinio: NoPing","type":"code","cost":35000,"allowMessages":false,"categoryName":"","thumbnail":"https://cdn.streamelements.com/uploads/730c0424-94da-4ee3-b65c-4f105ca2de44.png","public":false,"channel":"5989df9d5fbe120a16fd3ae0","createdAt":"2021-01-27T03:39:02.171Z","updatedAt":"2021-10-08T15:47:44.981Z"},{"bot":{"sendResponse":true,"identifier":"item"},"cooldown":{"user":86400,"global":30,"category":0},"quantity":{"total":39,"current":27},"alert":{"graphics":{"duration":8,"type":"image","src":"https://cdn.streamelements.com/uploads/ffaa77f2-4ac7-4642-a058-f8d5e2b42765.png"},"audio":{"volume":0.5,"src":null},"enabled":false},"subscriberOnly":false,"sources":["website"],"userInput":[],"order":31,"_id":"602f222c2cc4a503d0af0e52","enabled":true,"featured":false,"name":"Genesis Crystals ×120","description":"Valido para o servidor americano de Genshin Impact.\n\nInstruções para resgatar: https://www.portaldoscreditos.com.br/tutoriais-como-inserir/25-tutorial-genshin-impact","type":"code","cost":6800,"allowMessages":false,"categoryName":"","thumbnail":"https://cdn.streamelements.com/uploads/ffaa77f2-4ac7-4642-a058-f8d5e2b42765.png","public":false,"channel":"5989df9d5fbe120a16fd3ae0","createdAt":"2021-02-19T02:27:56.122Z","updatedAt":"2021-10-08T23:20:29.093Z"},{"bot":{"sendResponse":true,"identifier":"item"},"cooldown":{"user":10,"global":0,"category":0},"quantity":{"total":60,"current":55},"alert":{"graphics":{"duration":8,"src":"https://cdn.streamelements.com/uploads/1c682421-02e9-47ea-a0bb-2bb6d7944111.png","type":"image"},"audio":{"volume":0.5,"src":null},"enabled":false},"subscriberOnly":false,"sources":["website"],"userInput":[],"order":14,"_id":"6063632f2f89f2111bcdba3a","enabled":true,"featured":false,"name":"NP - 7 DIAS","description":"Patrocinio: NoPing","type":"code","cost":1500,"allowMessages":false,"categoryName":"","public":false,"channel":"5989df9d5fbe120a16fd3ae0","createdAt":"2021-03-30T17:43:11.788Z","updatedAt":"2021-10-05T14:29:39.428Z"},{"bot":{"sendResponse":false,"identifier":"item"},"cooldown":{"user":10,"global":0,"category":0},"quantity":{"total":1,"current":1},"alert":{"graphics":{"duration":8,"src":"https://cdn.streamelements.com/uploads/273dbace-20d8-4ad9-a024-f9da9a4ebcab.png","type":"image"},"audio":{"volume":0.5,"src":null},"enabled":false},"subscriberOnly":false,"sources":["website"],"userInput":["Nome Completo","Endereco Completo","CEP","CPF"],"order":5,"_id":"60adb4a8170488436763a8b7","enabled":true,"featured":false,"name":"HyperX Cloud Alpha","description":"Patrocinio: HyperX","type":"perk","cost":300000,"allowMessages":false,"categoryName":"","public":false,"channel":"5989df9d5fbe120a16fd3ae0","createdAt":"2021-05-26T02:38:32.950Z","updatedAt":"2021-09-11T23:57:17.037Z"},{"bot":{"sendResponse":false,"identifier":"item"},"cooldown":{"user":10,"global":0,"category":0},"quantity":{"total":1,"current":1},"alert":{"graphics":{"duration":8,"src":"https://cdn.streamelements.com/uploads/1c4d781e-0f8a-4575-a90a-c97c058e4c40.png","type":"image"},"audio":{"volume":0.5,"src":null},"enabled":false},"subscriberOnly":false,"sources":["website"],"userInput":["Nome Completo","Endereco completo","CEP","CPF"],"order":8,"_id":"60adb5543097517eea9b44b3","enabled":true,"featured":false,"name":"HyperX Alloy Origins","description":"Patrocinio: HyperX","type":"perk","cost":300000,"allowMessages":false,"categoryName":"","public":false,"channel":"5989df9d5fbe120a16fd3ae0","createdAt":"2021-05-26T02:41:24.751Z","updatedAt":"2021-09-11T23:57:32.411Z"},{"bot":{"sendResponse":false,"identifier":"item"},"cooldown":{"user":10,"global":0,"category":0},"quantity":{"total":1,"current":0},"alert":{"graphics":{"duration":8,"src":"https://cdn.streamelements.com/uploads/dcb9786b-dbf3-4908-ba28-dab8a978e1de.png","type":"image"},"audio":{"volume":0.5,"src":null},"enabled":false},"subscriberOnly":false,"sources":["website"],"userInput":["Nome Completo","Endereco Completo","CEP"],"order":9,"_id":"60adb60ba8c2a46b4e7e84ed","enabled":true,"featured":false,"name":"HyperX FURY S Speed Edition","description":"Patrocinio HyperX","type":"perk","cost":90000,"allowMessages":false,"categoryName":"","public":false,"channel":"5989df9d5fbe120a16fd3ae0","createdAt":"2021-05-26T02:44:27.520Z","updatedAt":"2021-09-06T02:22:22.290Z"},{"bot":{"sendResponse":false,"identifier":"item"},"cooldown":{"user":10,"global":0,"category":0},"quantity":{"total":1,"current":0},"alert":{"graphics":{"duration":8,"src":"https://cdn.streamelements.com/uploads/d210e9f8-fe57-4dcd-8b78-63992a0fecfa.png","type":"image"},"audio":{"volume":0.5,"src":null},"enabled":false},"subscriberOnly":true,"sources":["website"],"userInput":["Nome Completo","Endereco Completo","CEP"],"order":7,"_id":"60adb7190190a9863204e822","enabled":true,"featured":false,"name":"HyperX Pulsefire Haste","description":"Patrocinio: HyperX","type":"perk","cost":125000,"allowMessages":false,"categoryName":"","public":false,"channel":"5989df9d5fbe120a16fd3ae0","createdAt":"2021-05-26T02:48:57.082Z","updatedAt":"2021-09-06T02:21:47.728Z"},{"bot":{"sendResponse":false,"identifier":"item"},"cooldown":{"user":10,"global":0,"category":0},"quantity":{"total":1,"current":0},"alert":{"graphics":{"duration":8,"src":"https://cdn.streamelements.com/uploads/5a214a7c-f34f-4317-a424-a1e5ea92d7b6.png","type":"image"},"audio":{"volume":0.5,"src":null},"enabled":false},"subscriberOnly":false,"sources":["website"],"userInput":["Nome COmpleto","Endereco Completo","CEP","CPF"],"order":6,"_id":"60adb7bd0c9780438c5dd178","enabled":true,"featured":false,"name":"HyperX Cloud Earbuds","description":"Patrocinio: HyperX","type":"perk","cost":80000,"allowMessages":false,"categoryName":"","public":false,"channel":"5989df9d5fbe120a16fd3ae0","createdAt":"2021-05-26T02:51:42.001Z","updatedAt":"2021-10-07T16:53:01.587Z"},{"bot":{"sendResponse":true,"identifier":"item"},"cooldown":{"user":10,"global":0,"category":0},"quantity":{"total":11,"current":11},"alert":{"graphics":{"duration":8,"type":"image","src":"https://cdn.streamelements.com/uploads/305a21e8-9f36-4fc6-8135-6b92b567a57e.png"},"audio":{"volume":0.5,"src":null},"enabled":false},"subscriberOnly":false,"sources":["website"],"userInput":[],"order":11,"_id":"60adbc988c64203d4b3491ec","enabled":true,"featured":false,"name":"Kaspersky Security Cloud","description":"Patrocinio: Kaspersky","type":"code","cost":9000,"allowMessages":false,"categoryName":"","public":false,"channel":"5989df9d5fbe120a16fd3ae0","createdAt":"2021-05-26T03:12:24.755Z","updatedAt":"2021-10-07T15:52:47.344Z"},{"bot":{"sendResponse":true,"identifier":"item"},"cooldown":{"user":10,"global":0,"category":0},"quantity":{"total":8,"current":8},"alert":{"graphics":{"duration":8,"src":"https://cdn.streamelements.com/uploads/442c5d5e-9b62-4876-8914-9dc13889ff8c.png","type":"image"},"audio":{"volume":0.5,"src":null},"enabled":false},"subscriberOnly":false,"sources":["website"],"userInput":[],"order":12,"_id":"60adbd5c1704881b6c63dd06","enabled":true,"featured":false,"name":"Kaspersky VPN Secure Connection","description":"Patrocinio: Kaspersky","type":"code","cost":8000,"allowMessages":false,"categoryName":"","public":false,"channel":"5989df9d5fbe120a16fd3ae0","createdAt":"2021-05-26T03:15:40.435Z","updatedAt":"2021-10-07T15:52:42.826Z"},{"bot":{"sendResponse":true,"identifier":"item"},"cooldown":{"user":10,"global":0,"category":0},"quantity":{"total":0,"current":0},"alert":{"graphics":{"duration":8,"type":"image","src":"https://cdn.streamelements.com/uploads/da0e617c-cb28-40a1-8699-865594c78e44.png"},"audio":{"volume":0.5,"src":null},"enabled":false},"subscriberOnly":false,"sources":["website"],"userInput":[],"order":10,"_id":"60adbe126429b7760d9acb4b","enabled":true,"featured":false,"name":"Kaspersky Total Security","description":"Patrocinio: Kaspersky\nValidade: 6 meses","type":"code","cost":15000,"allowMessages":false,"categoryName":"","public":false,"channel":"5989df9d5fbe120a16fd3ae0","createdAt":"2021-05-26T03:18:42.068Z","updatedAt":"2021-10-07T16:52:01.685Z"},{"bot":{"sendResponse":true,"identifier":"item"},"cooldown":{"user":10,"global":0,"category":0},"quantity":{"total":8,"current":8},"alert":{"graphics":{"duration":8,"src":"https://cdn.streamelements.com/uploads/1e3cfe87-3d58-42ec-9c7d-a33c8b39b286.png","type":"image"},"audio":{"volume":0.5,"src":null},"enabled":false},"subscriberOnly":false,"sources":["website"],"userInput":[],"order":13,"_id":"60adbf1f1dfbba6c887fe065","enabled":true,"featured":false,"name":"Kaspersky Internet Security para Android","description":"Patrocinio: Kaspersky\nValido para 1 dispositivo Android e durante 1 ano","type":"code","cost":5000,"allowMessages":false,"categoryName":"","public":false,"channel":"5989df9d5fbe120a16fd3ae0","createdAt":"2021-05-26T03:23:11.882Z","updatedAt":"2021-10-07T15:52:56.489Z"},{"bot":{"sendResponse":true,"identifier":"item"},"cooldown":{"user":86400,"global":30,"category":0},"quantity":{"total":20,"current":20},"alert":{"graphics":{"duration":8,"src":"https://cdn.streamelements.com/uploads/2324c57b-c1ee-4f17-b7a0-d2a8d3823737.png","type":"image"},"audio":{"volume":0.5,"src":null},"enabled":false},"subscriberOnly":true,"sources":["website"],"userInput":[],"order":1,"_id":"612e92eada076045f76c5797","enabled":true,"featured":false,"name":"Benção da Lua","description":"Apenas para Subscribers.\nValido para o servidor americano de Genshin Impact.\n\nInstruções para resgatar: https://www.portaldoscreditos.com.br/tutoriais-como-inserir/25-tutorial-genshin-impact","type":"code","cost":20000,"allowMessages":false,"categoryName":"","public":false,"channel":"5989df9d5fbe120a16fd3ae0","createdAt":"2021-08-31T20:36:58.552Z","updatedAt":"2021-10-07T17:42:20.988Z","thumbnail":"https://cdn.streamelements.com/uploads/2324c57b-c1ee-4f17-b7a0-d2a8d3823737.png"},{"bot":{"sendResponse":true,"identifier":"item"},"cooldown":{"user":10,"global":0,"category":0},"quantity":{"total":5,"current":5},"alert":{"graphics":{"duration":8,"src":"https://cdn.streamelements.com/uploads/ac360657-54bd-4199-872b-e535a913989c.png","type":"image"},"audio":{"volume":0.5,"src":null},"enabled":false},"subscriberOnly":true,"sources":["website"],"userInput":[],"order":2,"_id":"612e95b784355c3ec58591bb","enabled":true,"featured":false,"name":"Óculos Rafael Lopes","description":"Cupom de 100% de desconto em qualquer armação da marca Rafael Lopes (não inclui lentes ou fretes)\n\nhttps://www.oticarafaellopes.com.br/?parceiro=7607","type":"code","cost":8000,"allowMessages":false,"categoryName":"","public":false,"channel":"5989df9d5fbe120a16fd3ae0","createdAt":"2021-08-31T20:48:55.403Z","updatedAt":"2021-10-07T17:42:20.993Z","thumbnail":"https://cdn.streamelements.com/uploads/ac360657-54bd-4199-872b-e535a913989c.png"}]
return new Promise((resolve, reject) => {
https.get(`https://api.streamelements.com/kappa/v2/store/${channelId}/items?source=website`, (resp) => {
let data = '';
resp.on('data', (chunk) => {
data += chunk;
});
resp.on('end', () => {
try{
const parsedData = JSON.parse(data);
resolve(parsedData);
}catch(e){
reject(e.message);
}
});
}).on("error", (err) => {
reject(e.message);
});
});
}