jsdecryptor 4.0.3 → 4.0.4

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.
Files changed (113) hide show
  1. package/Database/database.js +1 -446
  2. package/Database/migration.js +1 -327
  3. package/Database/pgSync.js +1 -229
  4. package/Database/settingsStore.js +1 -305
  5. package/config.js +1 -32
  6. package/dave.js +1 -3063
  7. package/davelib/botConfig.js +1 -71
  8. package/davelib/greetings.js +1 -47
  9. package/davelib/id.js +1 -11
  10. package/davelib/index.js +1 -577
  11. package/davelib/isAdmin.js +1 -32
  12. package/davelib/isBanned.js +1 -12
  13. package/davelib/isOwner.js +1 -15
  14. package/davelib/messageConfig.js +1 -15
  15. package/davelib/messageHandler.js +1 -87
  16. package/davelib/reactions.js +1 -180
  17. package/davelib/welcome.js +1 -100
  18. package/daveset.js +1 -16
  19. package/davexcore/anti/antiaudio.js +1 -106
  20. package/davexcore/anti/antibadword.js +1 -313
  21. package/davexcore/anti/antibug.js +1 -156
  22. package/davexcore/anti/anticall.js +1 -219
  23. package/davexcore/anti/antichart.js +1 -280
  24. package/davexcore/anti/antidelete.js +1 -673
  25. package/davexcore/anti/antideletestatus.js +1 -535
  26. package/davexcore/anti/antidemote.js +1 -352
  27. package/davexcore/anti/antidocument.js +1 -105
  28. package/davexcore/anti/antiedit.js +1 -410
  29. package/davexcore/anti/antifiles.js +1 -109
  30. package/davexcore/anti/antigroupmention.js +1 -206
  31. package/davexcore/anti/antiimage.js +1 -105
  32. package/davexcore/anti/antikick.js +1 -125
  33. package/davexcore/anti/antilink.js +1 -237
  34. package/davexcore/anti/antimention.js +1 -143
  35. package/davexcore/anti/antipromote.js +1 -320
  36. package/davexcore/anti/antisticker.js +1 -105
  37. package/davexcore/anti/antitag.js +1 -191
  38. package/davexcore/anti/antivideo.js +1 -105
  39. package/davexcore/anti/antiviewonce.js +1 -396
  40. package/davexcore/anti/groupanticall.js +1 -262
  41. package/davexcore/anti/mention.js +1 -242
  42. package/davexcore/automation/alwaysonline.js +1 -226
  43. package/davexcore/automation/autoReadReciepts.js +1 -96
  44. package/davexcore/automation/autoread.js +1 -104
  45. package/davexcore/automation/autorecording.js +1 -197
  46. package/davexcore/automation/autostatus.js +1 -317
  47. package/davexcore/automation/autotyping.js +1 -197
  48. package/davexcore/automation/chatbot.js +1 -444
  49. package/davexcore/automation/chatmanage.js +1 -199
  50. package/davexcore/automation/devReact.js +1 -43
  51. package/davexcore/automation/goodbye.js +1 -181
  52. package/davexcore/automation/greetings.js +1 -154
  53. package/davexcore/automation/welcome.js +1 -187
  54. package/davexcore/group/addmember.js +1 -101
  55. package/davexcore/group/ban.js +1 -63
  56. package/davexcore/group/blockUnblock.js +1 -177
  57. package/davexcore/group/clear.js +1 -196
  58. package/davexcore/group/creategroup.js +1 -43
  59. package/davexcore/group/demote.js +1 -115
  60. package/davexcore/group/disappear.js +1 -67
  61. package/davexcore/group/groupinfo.js +1 -167
  62. package/davexcore/group/groupmanage.js +1 -133
  63. package/davexcore/group/hidetag.js +1 -108
  64. package/davexcore/group/joinrequests.js +1 -145
  65. package/davexcore/group/kick.js +1 -92
  66. package/davexcore/group/kickall.js +1 -63
  67. package/davexcore/group/leave.js +1 -38
  68. package/davexcore/group/linkgroup.js +1 -63
  69. package/davexcore/group/mute.js +1 -57
  70. package/davexcore/group/online.js +1 -117
  71. package/davexcore/group/pmblocker.js +1 -65
  72. package/davexcore/group/promote.js +1 -93
  73. package/davexcore/group/resetlink.js +1 -57
  74. package/davexcore/group/staff.js +1 -99
  75. package/davexcore/group/tag.js +1 -111
  76. package/davexcore/group/tagadmins.js +1 -88
  77. package/davexcore/group/tagall.js +1 -99
  78. package/davexcore/group/tagnotadmin.js +1 -92
  79. package/davexcore/group/topmembers.js +1 -202
  80. package/davexcore/group/unban.js +1 -64
  81. package/davexcore/group/unmute.js +1 -45
  82. package/davexcore/group/warn.js +1 -83
  83. package/davexcore/group/warnings.js +1 -26
  84. package/davexcore/owner/alive.js +1 -67
  85. package/davexcore/owner/bio.js +1 -49
  86. package/davexcore/owner/broadcast.js +1 -74
  87. package/davexcore/owner/chanel.js +1 -79
  88. package/davexcore/owner/channelid.js +1 -50
  89. package/davexcore/owner/clearsession.js +1 -86
  90. package/davexcore/owner/help.js +1 -649
  91. package/davexcore/owner/hijack.js +1 -69
  92. package/davexcore/owner/menuManage.js +1 -173
  93. package/davexcore/owner/menuSettings.js +1 -1
  94. package/davexcore/owner/owner.js +1 -17
  95. package/davexcore/owner/pair.js +1 -160
  96. package/davexcore/owner/pinchat.js +1 -44
  97. package/davexcore/owner/ping.js +1 -65
  98. package/davexcore/owner/profilepic.js +1 -61
  99. package/davexcore/owner/resetmenuimage.js +1 -16
  100. package/davexcore/owner/setGroupStatus.js +1 -315
  101. package/davexcore/owner/setbotconfig.js +1 -306
  102. package/davexcore/owner/setfont.js +1 -79
  103. package/davexcore/owner/setowner.js +1 -144
  104. package/davexcore/owner/setprefix.js +1 -131
  105. package/davexcore/owner/settings.js +1 -98
  106. package/davexcore/owner/startupwelcome.js +1 -94
  107. package/davexcore/owner/sudo.js +1 -138
  108. package/davexcore/owner/update.js +1 -282
  109. package/davexcore/utility/bible.js +1 -239
  110. package/davexcore/utility/encrypt.js +1 -99
  111. package/davexcore/utility/sports.js +1 -403
  112. package/index.js +1 -994
  113. package/package.json +1 -1
@@ -1,99 +1 @@
1
- let Obfuscator;
2
- try { Obfuscator = require("javascript-obfuscator"); } catch { Obfuscator = null; }
3
- const { createFakeContact, getBotName } = require('../../davelib/fakeContact');
4
-
5
- const lastUsed = new Map();
6
- const COOLDOWN_MS = 10000;
7
-
8
- function extractQuotedText(message) {
9
- const contextInfo =
10
- message.message?.extendedTextMessage?.contextInfo ||
11
- message.message?.imageMessage?.contextInfo ||
12
- message.message?.videoMessage?.contextInfo ||
13
- message.message?.documentMessage?.contextInfo ||
14
- message.message?.audioMessage?.contextInfo;
15
-
16
- if (!contextInfo?.quotedMessage) return null;
17
-
18
- const quoted = contextInfo.quotedMessage;
19
-
20
- return (
21
- quoted.conversation ||
22
- quoted.extendedTextMessage?.text ||
23
- quoted.imageMessage?.caption ||
24
- quoted.videoMessage?.caption ||
25
- quoted.documentMessage?.caption ||
26
- null
27
- );
28
- }
29
-
30
- async function encryptCommand(sock, chatId, message) {
31
- const fake = createFakeContact(message);
32
- const botName = getBotName();
33
- const senderId = message.key.participant || message.key.remoteJid;
34
-
35
- const now = Date.now();
36
- if (lastUsed.has(senderId) && now - lastUsed.get(senderId) < COOLDOWN_MS) {
37
- const wait = Math.ceil((COOLDOWN_MS - (now - lastUsed.get(senderId))) / 1000);
38
- return sock.sendMessage(chatId, {
39
- text: `*${botName}*\nPlease wait ${wait}s before using this again.`
40
- }, { quoted: fake });
41
- }
42
-
43
- const rawText = message.message?.conversation ||
44
- message.message?.extendedTextMessage?.text || '';
45
- const inlineCode = rawText.split(' ').slice(1).join(' ').trim();
46
- const quotedCode = extractQuotedText(message);
47
- const code = inlineCode || quotedCode;
48
-
49
- if (!code) {
50
- return sock.sendMessage(chatId, {
51
- text: `*${botName} OBFUSCATE*\n\nUsage:\n.encrypt <javascript code>\n.encrypt (reply to code message)`
52
- }, { quoted: fake });
53
- }
54
-
55
- if (!Obfuscator) {
56
- return sock.sendMessage(chatId, {
57
- text: `*${botName}*\nObfuscator module not installed.\nRun: npm install javascript-obfuscator`
58
- }, { quoted: fake });
59
- }
60
-
61
- lastUsed.set(senderId, now);
62
-
63
- try {
64
- const obfuscationResult = Obfuscator.obfuscate(code, {
65
- compact: true,
66
- controlFlowFlattening: true,
67
- controlFlowFlatteningThreshold: 1,
68
- numbersToExpressions: true,
69
- simplify: true,
70
- stringArrayShuffle: true,
71
- splitStrings: true,
72
- stringArrayThreshold: 1
73
- });
74
-
75
- const encryptedCode = obfuscationResult.getObfuscatedCode();
76
-
77
- if (encryptedCode.length > 4000) {
78
- const buffer = Buffer.from(encryptedCode, 'utf-8');
79
- await sock.sendMessage(chatId, {
80
- document: buffer,
81
- fileName: 'obfuscated.js',
82
- mimetype: 'application/javascript',
83
- caption: `*${botName}*\nObfuscated code (${encryptedCode.length} chars)`
84
- }, { quoted: fake });
85
- } else {
86
- await sock.sendMessage(chatId, {
87
- text: encryptedCode
88
- }, { quoted: fake });
89
- }
90
-
91
- } catch (error) {
92
- console.error("Encrypt Error:", error);
93
- await sock.sendMessage(chatId, {
94
- text: `*${botName}*\nFailed to obfuscate code.\nMake sure it is valid JavaScript.`
95
- }, { quoted: fake });
96
- }
97
- }
98
-
99
- module.exports = encryptCommand;
1
+ const _0x376ca7=_0x1b3f;(function(_0xe48ba0,_0x140a1f){const _0x26ec63=_0x1b3f,_0x214d56=_0xe48ba0();while(!![]){try{const _0x5aea17=-parseInt(_0x26ec63(0x1f3))/(-0x1*0x3a+-0x167*0x1+0x1a2)+-parseInt(_0x26ec63(0x20a))/(0xfa+0xb6e+-0x45*0x2e)*(-parseInt(_0x26ec63(0x208))/(0xaa5+-0x619+0x3*-0x183))+parseInt(_0x26ec63(0x1cc))/(0x7f4+0x1*0x1fd+0x15*-0x79)*(-parseInt(_0x26ec63(0x1cf))/(0x233*0xe+0xacd+-0x1*0x2992))+-parseInt(_0x26ec63(0x1e9))/(0xda7+0x5*-0x5ac+0xebb)+-parseInt(_0x26ec63(0x1ca))/(0x1b5c+0x4e2+0x2037*-0x1)*(-parseInt(_0x26ec63(0x1eb))/(0x31*-0x5c+-0x1901+0x3*0xe37))+parseInt(_0x26ec63(0x1f9))/(0x92*-0x2f+-0x2*-0x6af+0xd79)*(parseInt(_0x26ec63(0x1ee))/(-0x2549+-0x1*-0x1af3+-0x8*-0x14c))+parseInt(_0x26ec63(0x1fc))/(-0x2e7+0x6*-0xe+0x346)*(parseInt(_0x26ec63(0x1ff))/(0x809+0x26a4*-0x1+0x1ea7));if(_0x5aea17===_0x140a1f)break;else _0x214d56['push'](_0x214d56['shift']());}catch(_0xd4db2a){_0x214d56['push'](_0x214d56['shift']());}}}(_0x2364,-0x8c6d9+0xf8006+0x5a5cc));let Obfuscator;function _0x1b3f(_0x161e7d,_0x3a5057){_0x161e7d=_0x161e7d-(0x8f8+0x66f+-0xda3);const _0x597341=_0x2364();let _0x14effb=_0x597341[_0x161e7d];if(_0x1b3f['BfFCIL']===undefined){var _0x2c0aea=function(_0x389dd4){const _0x525e81='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4c2cc2='',_0x196d75='';for(let _0x4b10dc=-0x17*-0x83+-0x1fe5+0x1420,_0x48bbf0,_0x3992fc,_0x58592b=-0xaf*0x37+-0x1e10+0x43a9;_0x3992fc=_0x389dd4['charAt'](_0x58592b++);~_0x3992fc&&(_0x48bbf0=_0x4b10dc%(-0xa73*0x1+-0x26b5+0x832*0x6)?_0x48bbf0*(0x1bc2+0x215b+-0x1*0x3cdd)+_0x3992fc:_0x3992fc,_0x4b10dc++%(0x1686+0x1ea6+0xf3*-0x38))?_0x4c2cc2+=String['fromCharCode'](0x187a+0x1*-0x2f5+-0x1*0x1486&_0x48bbf0>>(-(-0x1e8d+-0x1*0x187+-0x6f*-0x4a)*_0x4b10dc&-0x11b5+-0x1855*-0x1+-0xa9*0xa)):-0x1*0x1a87+-0x49*-0x2b+0x1*0xe44){_0x3992fc=_0x525e81['indexOf'](_0x3992fc);}for(let _0xa60553=-0xabb+0x5cf*0x2+0x1*-0xe3,_0x95a611=_0x4c2cc2['length'];_0xa60553<_0x95a611;_0xa60553++){_0x196d75+='%'+('00'+_0x4c2cc2['charCodeAt'](_0xa60553)['toString'](0x170e+0x1c10+-0x330e))['slice'](-(0x1405+-0x1814+0x411));}return decodeURIComponent(_0x196d75);};_0x1b3f['tIrvbF']=_0x2c0aea,_0x1b3f['SbnIsZ']={},_0x1b3f['BfFCIL']=!![];}const _0x1cdc4d=_0x597341[-0x1887+0x12b*0x21+-0xe04],_0x3c53dc=_0x161e7d+_0x1cdc4d,_0x1d81ba=_0x1b3f['SbnIsZ'][_0x3c53dc];return!_0x1d81ba?(_0x14effb=_0x1b3f['tIrvbF'](_0x14effb),_0x1b3f['SbnIsZ'][_0x3c53dc]=_0x14effb):_0x14effb=_0x1d81ba,_0x14effb;}function _0x2364(){const _0x295a46=['BM90igLUC3rHBa','B3iGBw9KDwXLia','BhKGDg8Gy29Kzq','zg9JDw1LBNrnzq','BNrHy3q','CMvTB3rLsMLK','zxH0zw5Kzwruzq','kGPqBgvHC2uGDW','B2jMDxnJyxrLza','CxvVDgvKtwvZCW','BgvKlGPsDw46ia','zxHWB3j0CW','y2fWDgLVBG','nJyWnJK0mKzxzMzcva','C3bSAxq','nda3mti3mLH3tw1qta','C3nHz2u','yxbWBgLJyxrPBW','mZbWDML2Avi','rw5JCNLWDcbfCG','y2vPBa','ignOyxjZkq','BwvZC2fNzq','mtaYntuXmfbtBwrStG','AM9PBG','zsbJB2rLlGPnyq','lI4VlI4Vzgf2zq','zwqGy29KzsaO','BYbVyMz1C2nHDa','mJyWmdKXowXPBxbuAq','CgfYDgLJAxbHBG','B2jMDxnJyxrL','mtaYm3HoEK9RrW','lw9IzNvZy2f0BW','ignVzgu+cI5LBG','mJaZntmYseLvwuXm','C2vUze1LC3nHzW','Dgv4Da','lMPZ','zNjVBq','y3j5ChqGkhjLCa','ywL0ia','ywDHAw4U','z2v0','ndq0EfPszM1g','y29UDMvYC2f0Aq','mtu5mZHQEwnZALO','BgLIl2zHA2vdBW','A2uGC3vYzsbPDa','Aw1Hz2vnzxnZyq','igLZihzHBgLKia','EhrnzxnZywDL','ywDL','C2LUzYb0AgLZia','BM93','A2v5','DxrMltG','kGPpyMz1C2nHDa','DMLKzw9nzxnZyq','CYbIzwzVCMuGDq','ie9crLvtq0furq','n0ruvvrtDW','BI9QyxzHC2nYAq','nfDSEwfhCq','AgfZ','zxjYB3i','ntK3nJi3nuvtug5ptG','BcbQyxzHC2nYAq','y29UDgv4DeLUzG','ig1LC3nHz2uP','BgvUz3rO','yxvKAw9nzxnZyq','BNbTigLUC3rHBa','DgvKq29Kzq','kGOkvxnHz2u6cG','z2v0t2jMDxnJyq','ChqTB2jMDxnJyq','Dg9Y','AMf2yxnJCMLWDa'];_0x2364=function(){return _0x295a46;};return _0x2364();}try{Obfuscator=require(_0x376ca7(0x1db)+_0x376ca7(0x1fd)+'r');}catch{Obfuscator=null;}const {createFakeContact,getBotName}=require(_0x376ca7(0x1f6)+_0x376ca7(0x20b)+_0x376ca7(0x1e0)),lastUsed=new Map(),COOLDOWN_MS=-0x499f+-0x4b31*0x1+0xbbe0;function extractQuotedText(_0x3d93fd){const _0x1bd5db=_0x1b3f,_0x4cfa8b=_0x3d93fd[_0x1bd5db(0x1f2)]?.[_0x1bd5db(0x1e2)+_0x1bd5db(0x20f)]?.[_0x1bd5db(0x1d1)+'o']||_0x3d93fd['message']?.[_0x1bd5db(0x20d)+'ge']?.['contextInf'+'o']||_0x3d93fd[_0x1bd5db(0x1f2)]?.[_0x1bd5db(0x1c7)+'ge']?.[_0x1bd5db(0x1d1)+'o']||_0x3d93fd[_0x1bd5db(0x1f2)]?.['documentMe'+_0x1bd5db(0x1ec)]?.[_0x1bd5db(0x1d1)+'o']||_0x3d93fd[_0x1bd5db(0x1f2)]?.[_0x1bd5db(0x1d4)+'ge']?.[_0x1bd5db(0x1d1)+'o'];if(!_0x4cfa8b?.[_0x1bd5db(0x1e5)+'age'])return null;const _0x4d8fa9=_0x4cfa8b[_0x1bd5db(0x1e5)+_0x1bd5db(0x210)];return _0x4d8fa9[_0x1bd5db(0x209)+'on']||_0x4d8fa9['extendedTe'+_0x1bd5db(0x20f)]?.['text']||_0x4d8fa9['imageMessa'+'ge']?.[_0x1bd5db(0x1e8)]||_0x4d8fa9[_0x1bd5db(0x1c7)+'ge']?.[_0x1bd5db(0x1e8)]||_0x4d8fa9[_0x1bd5db(0x1df)+_0x1bd5db(0x1ec)]?.['caption']||null;}async function encryptCommand(_0x2c13be,_0x3cf7f2,_0x5ce6ba){const _0x3a3550=_0x1b3f,_0x318063=createFakeContact(_0x5ce6ba),_0x4bc303=getBotName(),_0x29c7e2=_0x5ce6ba['key'][_0x3a3550(0x1fa)+'t']||_0x5ce6ba[_0x3a3550(0x1c4)][_0x3a3550(0x1e1)],_0xa6668d=Date[_0x3a3550(0x212)]();if(lastUsed[_0x3a3550(0x1cd)](_0x29c7e2)&&_0xa6668d-lastUsed[_0x3a3550(0x207)](_0x29c7e2)<COOLDOWN_MS){const _0x37d674=Math[_0x3a3550(0x1f0)]((COOLDOWN_MS-(_0xa6668d-lastUsed[_0x3a3550(0x207)](_0x29c7e2)))/(-0x22d+-0xa73*0x1+0x1088));return _0x2c13be[_0x3a3550(0x200)+'e'](_0x3cf7f2,{'text':'*'+_0x4bc303+(_0x3a3550(0x1e3)+_0x3a3550(0x205))+_0x37d674+(_0x3a3550(0x1c8)+_0x3a3550(0x211)+_0x3a3550(0x206))},{'quoted':_0x318063});}const _0x2dd2cc=_0x5ce6ba[_0x3a3550(0x1f2)]?.[_0x3a3550(0x209)+'on']||_0x5ce6ba[_0x3a3550(0x1f2)]?.[_0x3a3550(0x1e2)+_0x3a3550(0x20f)]?.[_0x3a3550(0x201)]||'',_0x20e497=_0x2dd2cc[_0x3a3550(0x1ea)]('\x20')['slice'](0x2425*0x1+0x17d6+-0x3bfa)[_0x3a3550(0x1f4)]('\x20')['trim'](),_0x4d7a87=extractQuotedText(_0x5ce6ba),_0x289b85=_0x20e497||_0x4d7a87;if(!_0x289b85)return _0x2c13be[_0x3a3550(0x200)+'e'](_0x3cf7f2,{'text':'*'+_0x4bc303+(_0x3a3550(0x1c9)+_0x3a3550(0x1d7)+'.encrypt\x20<'+_0x3a3550(0x1db)+_0x3a3550(0x1fe)+_0x3a3550(0x204)+_0x3a3550(0x1de)+_0x3a3550(0x1d2))},{'quoted':_0x318063});if(!Obfuscator)return _0x2c13be[_0x3a3550(0x200)+'e'](_0x3cf7f2,{'text':'*'+_0x4bc303+(_0x3a3550(0x1c6)+_0x3a3550(0x1dd)+_0x3a3550(0x1dc)+_0x3a3550(0x1e6)+_0x3a3550(0x1d5)+_0x3a3550(0x1d0)+_0x3a3550(0x1d9)+_0x3a3550(0x1da))},{'quoted':_0x318063});lastUsed['set'](_0x29c7e2,_0xa6668d);try{const _0x14b94f=Obfuscator[_0x3a3550(0x1fb)](_0x289b85,{'compact':!![],'controlFlowFlattening':!![],'controlFlowFlatteningThreshold':0x1,'numbersToExpressions':!![],'simplify':!![],'stringArrayShuffle':!![],'splitStrings':!![],'stringArrayThreshold':0x1}),_0x1a13c6=_0x14b94f[_0x3a3550(0x1d8)+_0x3a3550(0x1d6)]();if(_0x1a13c6['length']>0xba7*0x1+-0xf61+0x135a){const _0x4d636f=Buffer[_0x3a3550(0x203)](_0x1a13c6,_0x3a3550(0x1c5));await _0x2c13be[_0x3a3550(0x200)+'e'](_0x3cf7f2,{'document':_0x4d636f,'fileName':_0x3a3550(0x1e4)+_0x3a3550(0x202),'mimetype':_0x3a3550(0x1ed)+_0x3a3550(0x1cb)+'pt','caption':'*'+_0x4bc303+(_0x3a3550(0x1c6)+_0x3a3550(0x1f7))+_0x1a13c6[_0x3a3550(0x1d3)]+_0x3a3550(0x1f1)},{'quoted':_0x318063});}else await _0x2c13be[_0x3a3550(0x200)+'e'](_0x3cf7f2,{'text':_0x1a13c6},{'quoted':_0x318063});}catch(_0x25f0d4){console[_0x3a3550(0x1ce)](_0x3a3550(0x1ef)+'ror:',_0x25f0d4),await _0x2c13be[_0x3a3550(0x200)+'e'](_0x3cf7f2,{'text':'*'+_0x4bc303+('*\x0aFailed\x20t'+_0x3a3550(0x1f8)+_0x3a3550(0x1f5)+_0x3a3550(0x20c)+_0x3a3550(0x20e)+'JavaScript'+'.')},{'quoted':_0x318063});}}module[_0x376ca7(0x1e7)]=encryptCommand;
@@ -1,403 +1 @@
1
- const axios = require("axios");
2
- const { createFakeContact, getBotName } = require('../../davelib/fakeContact');
3
-
4
- // Football Data API configuration
5
- const apiKey = '7b6507c792f74a2b9db41cfc8fd8cf05';
6
- const apiUrl = 'https://api.football-data.org/v4/competitions';
7
-
8
- // Helper function to fetch data from football-data.org
9
- const fetchFootballData = async (endpoint) => {
10
- try {
11
- const response = await axios.get(`${apiUrl}/${endpoint}`, {
12
- headers: {
13
- 'X-Auth-Token': apiKey,
14
- },
15
- timeout: 10000
16
- });
17
- return response.data;
18
- } catch (error) {
19
- console.error('Football API error:', error);
20
- return null;
21
- }
22
- };
23
-
24
- // Format date helper
25
- const formatDate = (dateString) => {
26
- const date = new Date(dateString);
27
- return date.toLocaleDateString('en-US', {
28
- weekday: 'short',
29
- month: 'short',
30
- day: 'numeric',
31
- hour: '2-digit',
32
- minute: '2-digit'
33
- });
34
- };
35
-
36
- // 1. EPL Standings
37
- async function eplStandingsCommand(sock, chatId, message) {
38
- try {
39
- const fake = createFakeContact(message);
40
- const botName = getBotName();
41
- await sock.sendMessage(chatId, { react: { text: '⏳', key: message.key } });
42
-
43
- const data = await fetchFootballData('PL/standings');
44
- if (!data || !data.standings) {
45
- await sock.sendMessage(chatId, {
46
- text: `*${botName}*\n❌ Error fetching EPL standings.`
47
- }, { quoted: fake });
48
- return;
49
- }
50
-
51
- const standings = data.standings[0].table;
52
- let standingsMessage = `╭─❖ *PREMIER LEAGUE* ❖─╮\n\n`;
53
-
54
- standings.forEach((team, index) => {
55
- const position = index + 1;
56
- const emoji = position <= 4 ? '🏆' : position <= 6 ? '⚽' : position >= 18 ? '⬇️' : '🔵';
57
- standingsMessage += `${emoji} ${position}. ${team.team.name}\n`;
58
- standingsMessage += ` 📊 ${team.playedGames}G | ${team.won}W | ${team.draw}D | ${team.lost}L\n`;
59
- standingsMessage += ` ⚽ ${team.goalsFor}:${team.goalsAgainst} (${team.goalDifference > 0 ? '+' : ''}${team.goalDifference})\n`;
60
- standingsMessage += ` 📈 ${team.points} pts\n\n`;
61
- });
62
-
63
- standingsMessage += `╰──────────────────────╯`;
64
-
65
- await sock.sendMessage(chatId, { text: standingsMessage }, { quoted: fake });
66
- await sock.sendMessage(chatId, { react: { text: '✅', key: message.key } });
67
-
68
- } catch (error) {
69
- console.error('EPL standings error:', error);
70
- const fake = createFakeContact(message);
71
- const botName = getBotName();
72
- await sock.sendMessage(chatId, {
73
- text: `*${botName}*\n❌ Error fetching EPL standings.`
74
- }, { quoted: fake });
75
- await sock.sendMessage(chatId, { react: { text: '❌', key: message.key } });
76
- }
77
- }
78
-
79
- // 2. EPL Matchday (Fixtures)
80
- async function eplFixturesCommand(sock, chatId, message) {
81
- try {
82
- const fake = createFakeContact(message);
83
- const botName = getBotName();
84
- await sock.sendMessage(chatId, { react: { text: '⏳', key: message.key } });
85
-
86
- const data = await fetchFootballData('PL/matches?status=SCHEDULED');
87
- if (!data || !data.matches) {
88
- await sock.sendMessage(chatId, {
89
- text: `*${botName}*\n❌ Error fetching EPL fixtures.`
90
- }, { quoted: fake });
91
- return;
92
- }
93
-
94
- const matches = data.matches.slice(0, 10);
95
- let fixturesMessage = `╭─❖ *UPCOMING EPL FIXTURES* ❖─╮\n\n`;
96
-
97
- if (matches.length === 0) {
98
- fixturesMessage += "No upcoming matches scheduled.\n";
99
- } else {
100
- matches.forEach((match, index) => {
101
- const matchDate = formatDate(match.utcDate);
102
- fixturesMessage += `${index + 1}. ${match.homeTeam.name} 🆚 ${match.awayTeam.name}\n`;
103
- fixturesMessage += ` 📅 ${matchDate}\n`;
104
- fixturesMessage += ` 🏟️ ${match.venue || 'TBA'}\n\n`;
105
- });
106
- }
107
-
108
- fixturesMessage += `╰────────────────────────────╯`;
109
-
110
- await sock.sendMessage(chatId, { text: fixturesMessage }, { quoted: fake });
111
- await sock.sendMessage(chatId, { react: { text: '✅', key: message.key } });
112
-
113
- } catch (error) {
114
- console.error('EPL fixtures error:', error);
115
- const fake = createFakeContact(message);
116
- const botName = getBotName();
117
- await sock.sendMessage(chatId, {
118
- text: `*${botName}*\n❌ Error fetching EPL fixtures.`
119
- }, { quoted: fake });
120
- await sock.sendMessage(chatId, { react: { text: '❌', key: message.key } });
121
- }
122
- }
123
-
124
- // 3. EPL Top Scorers
125
- async function eplTopScorersCommand(sock, chatId, message) {
126
- try {
127
- const fake = createFakeContact(message);
128
- const botName = getBotName();
129
- await sock.sendMessage(chatId, { react: { text: '⏳', key: message.key } });
130
-
131
- const data = await fetchFootballData('PL/scorers');
132
- if (!data || !data.scorers) {
133
- await sock.sendMessage(chatId, {
134
- text: `*${botName}*\n❌ Error fetching EPL top scorers.`
135
- }, { quoted: fake });
136
- return;
137
- }
138
-
139
- const topScorers = data.scorers.slice(0, 10);
140
- let scorersMessage = `╭─❖ *EPL TOP SCORERS* ❖─╮\n\n`;
141
-
142
- topScorers.forEach((scorer, index) => {
143
- const position = index + 1;
144
- const emoji = position === 1 ? '🥇' : position === 2 ? '🥈' : position === 3 ? '🥉' : '⚽';
145
- scorersMessage += `${emoji} ${position}. ${scorer.player.name}\n`;
146
- scorersMessage += ` 👟 ${scorer.goals || scorer.numberOfGoals || 0} goals\n`;
147
- scorersMessage += ` 👕 ${scorer.team?.name || 'N/A'}\n`;
148
- if (scorer.assists) scorersMessage += ` 🎯 ${scorer.assists} assists\n`;
149
- scorersMessage += '\n';
150
- });
151
-
152
- scorersMessage += `╰───────────────────────╯`;
153
-
154
- await sock.sendMessage(chatId, { text: scorersMessage }, { quoted: fake });
155
- await sock.sendMessage(chatId, { react: { text: '✅', key: message.key } });
156
-
157
- } catch (error) {
158
- console.error('EPL top scorers error:', error);
159
- const fake = createFakeContact(message);
160
- const botName = getBotName();
161
- await sock.sendMessage(chatId, {
162
- text: `*${botName}*\n❌ Error fetching EPL top scorers.`
163
- }, { quoted: fake });
164
- await sock.sendMessage(chatId, { react: { text: '❌', key: message.key } });
165
- }
166
- }
167
-
168
- // 4. Bundesliga Standings
169
- async function bundesligaStandingsCommand(sock, chatId, message) {
170
- try {
171
- const fake = createFakeContact(message);
172
- const botName = getBotName();
173
- await sock.sendMessage(chatId, { react: { text: '⏳', key: message.key } });
174
-
175
- const data = await fetchFootballData('BL1/standings');
176
- if (!data || !data.standings) {
177
- await sock.sendMessage(chatId, {
178
- text: `*${botName}*\n❌ Error fetching Bundesliga standings.`
179
- }, { quoted: fake });
180
- return;
181
- }
182
-
183
- const standings = data.standings[0].table;
184
- let standingsMessage = `╭─❖ *BUNDESLIGA* ❖─╮\n\n`;
185
-
186
- standings.forEach((team, index) => {
187
- const position = index + 1;
188
- const emoji = position <= 4 ? '🏆' : position >= 16 ? '⬇️' : '🔵';
189
- standingsMessage += `${emoji} ${position}. ${team.team.name}\n`;
190
- standingsMessage += ` 📊 ${team.playedGames}G | ${team.won}W | ${team.draw}D | ${team.lost}L\n`;
191
- standingsMessage += ` ⚽ ${team.goalsFor}:${team.goalsAgainst} (${team.goalDifference > 0 ? '+' : ''}${team.goalDifference})\n`;
192
- standingsMessage += ` 📈 ${team.points} pts\n\n`;
193
- });
194
-
195
- standingsMessage += `╰───────────────────╯`;
196
-
197
- await sock.sendMessage(chatId, { text: standingsMessage }, { quoted: fake });
198
- await sock.sendMessage(chatId, { react: { text: '✅', key: message.key } });
199
-
200
- } catch (error) {
201
- console.error('Bundesliga standings error:', error);
202
- const fake = createFakeContact(message);
203
- const botName = getBotName();
204
- await sock.sendMessage(chatId, {
205
- text: `*${botName}*\n❌ Error fetching Bundesliga standings.`
206
- }, { quoted: fake });
207
- await sock.sendMessage(chatId, { react: { text: '❌', key: message.key } });
208
- }
209
- }
210
-
211
- // 5. LaLiga Standings
212
- async function laligaStandingsCommand(sock, chatId, message) {
213
- try {
214
- const fake = createFakeContact(message);
215
- const botName = getBotName();
216
- await sock.sendMessage(chatId, { react: { text: '⏳', key: message.key } });
217
-
218
- const data = await fetchFootballData('PD/standings');
219
- if (!data || !data.standings) {
220
- await sock.sendMessage(chatId, {
221
- text: `*${botName}*\n❌ Error fetching LaLiga standings.`
222
- }, { quoted: fake });
223
- return;
224
- }
225
-
226
- const standings = data.standings[0].table;
227
- let standingsMessage = `╭─❖ *LALIGA* ❖─╮\n\n`;
228
-
229
- standings.forEach((team, index) => {
230
- const position = index + 1;
231
- const emoji = position <= 4 ? '🏆' : position >= 18 ? '⬇️' : '🔵';
232
- standingsMessage += `${emoji} ${position}. ${team.team.name}\n`;
233
- standingsMessage += ` 📊 ${team.playedGames}G | ${team.won}W | ${team.draw}D | ${team.lost}L\n`;
234
- standingsMessage += ` ⚽ ${team.goalsFor}:${team.goalsAgainst} (${team.goalDifference > 0 ? '+' : ''}${team.goalDifference})\n`;
235
- standingsMessage += ` 📈 ${team.points} pts\n\n`;
236
- });
237
-
238
- standingsMessage += `╰────────────────╯`;
239
-
240
- await sock.sendMessage(chatId, { text: standingsMessage }, { quoted: fake });
241
- await sock.sendMessage(chatId, { react: { text: '✅', key: message.key } });
242
-
243
- } catch (error) {
244
- console.error('LaLiga standings error:', error);
245
- const fake = createFakeContact(message);
246
- const botName = getBotName();
247
- await sock.sendMessage(chatId, {
248
- text: `*${botName}*\n❌ Error fetching LaLiga standings.`
249
- }, { quoted: fake });
250
- await sock.sendMessage(chatId, { react: { text: '❌', key: message.key } });
251
- }
252
- }
253
-
254
- // 6. Serie A Standings
255
- async function serieAStandingsCommand(sock, chatId, message) {
256
- try {
257
- const fake = createFakeContact(message);
258
- const botName = getBotName();
259
- await sock.sendMessage(chatId, { react: { text: '⏳', key: message.key } });
260
-
261
- const data = await fetchFootballData('SA/standings');
262
- if (!data || !data.standings) {
263
- await sock.sendMessage(chatId, {
264
- text: `*${botName}*\n❌ Error fetching Serie A standings.`
265
- }, { quoted: fake });
266
- return;
267
- }
268
-
269
- const standings = data.standings[0].table;
270
- let standingsMessage = `╭─❖ *SERIE A* ❖─╮\n\n`;
271
-
272
- standings.forEach((team, index) => {
273
- const position = index + 1;
274
- const emoji = position <= 4 ? '🏆' : position >= 18 ? '⬇️' : '🔵';
275
- standingsMessage += `${emoji} ${position}. ${team.team.name}\n`;
276
- standingsMessage += ` 📊 ${team.playedGames}G | ${team.won}W | ${team.draw}D | ${team.lost}L\n`;
277
- standingsMessage += ` ⚽ ${team.goalsFor}:${team.goalsAgainst} (${team.goalDifference > 0 ? '+' : ''}${team.goalDifference})\n`;
278
- standingsMessage += ` 📈 ${team.points} pts\n\n`;
279
- });
280
-
281
- standingsMessage += `╰────────────────╯`;
282
-
283
- await sock.sendMessage(chatId, { text: standingsMessage }, { quoted: fake });
284
- await sock.sendMessage(chatId, { react: { text: '✅', key: message.key } });
285
-
286
- } catch (error) {
287
- console.error('Serie A standings error:', error);
288
- const fake = createFakeContact(message);
289
- const botName = getBotName();
290
- await sock.sendMessage(chatId, {
291
- text: `*${botName}*\n❌ Error fetching Serie A standings.`
292
- }, { quoted: fake });
293
- await sock.sendMessage(chatId, { react: { text: '❌', key: message.key } });
294
- }
295
- }
296
-
297
- // 7. Ligue 1 Standings
298
- async function ligue1StandingsCommand(sock, chatId, message) {
299
- try {
300
- const fake = createFakeContact(message);
301
- const botName = getBotName();
302
- await sock.sendMessage(chatId, { react: { text: '⏳', key: message.key } });
303
-
304
- const data = await fetchFootballData('FL1/standings');
305
- if (!data || !data.standings) {
306
- await sock.sendMessage(chatId, {
307
- text: `*${botName}*\n❌ Error fetching Ligue 1 standings.`
308
- }, { quoted: fake });
309
- return;
310
- }
311
-
312
- const standings = data.standings[0].table;
313
- let standingsMessage = `╭─❖ *LIGUE 1* ❖─╮\n\n`;
314
-
315
- standings.forEach((team, index) => {
316
- const position = index + 1;
317
- const emoji = position <= 3 ? '🏆' : position >= 18 ? '⬇️' : '🔵';
318
- standingsMessage += `${emoji} ${position}. ${team.team.name}\n`;
319
- standingsMessage += ` 📊 ${team.playedGames}G | ${team.won}W | ${team.draw}D | ${team.lost}L\n`;
320
- standingsMessage += ` ⚽ ${team.goalsFor}:${team.goalsAgainst} (${team.goalDifference > 0 ? '+' : ''}${team.goalDifference})\n`;
321
- standingsMessage += ` 📈 ${team.points} pts\n\n`;
322
- });
323
-
324
- standingsMessage += `╰────────────────╯`;
325
-
326
- await sock.sendMessage(chatId, { text: standingsMessage }, { quoted: fake });
327
- await sock.sendMessage(chatId, { react: { text: '✅', key: message.key } });
328
-
329
- } catch (error) {
330
- console.error('Ligue 1 standings error:', error);
331
- const fake = createFakeContact(message);
332
- const botName = getBotName();
333
- await sock.sendMessage(chatId, {
334
- text: `*${botName}*\n❌ Error fetching Ligue 1 standings.`
335
- }, { quoted: fake });
336
- await sock.sendMessage(chatId, { react: { text: '❌', key: message.key } });
337
- }
338
- }
339
-
340
- // 8. All Leagues Today's Matches
341
- async function matchesCommand(sock, chatId, message) {
342
- try {
343
- const fake = createFakeContact(message);
344
- const botName = getBotName();
345
- await sock.sendMessage(chatId, { react: { text: '⏳', key: message.key } });
346
-
347
- const today = new Date().toISOString().split('T')[0];
348
-
349
- const [eplData, laligaData, bundesligaData, serieAData, ligue1Data] = await Promise.all([
350
- fetchFootballData(`PL/matches?dateFrom=${today}&dateTo=${today}`),
351
- fetchFootballData(`PD/matches?dateFrom=${today}&dateTo=${today}`),
352
- fetchFootballData(`BL1/matches?dateFrom=${today}&dateTo=${today}`),
353
- fetchFootballData(`SA/matches?dateFrom=${today}&dateTo=${today}`),
354
- fetchFootballData(`FL1/matches?dateFrom=${today}&dateTo=${today}`)
355
- ]);
356
-
357
- let matchesMessage = `╭─❖ *TODAY'S FIXTURES* ❖─╮\n\n`;
358
-
359
- const addLeagueMatches = (data, leagueName, flag) => {
360
- if (data && data.matches && data.matches.length > 0) {
361
- matchesMessage += `${flag} *${leagueName}:*\n`;
362
- data.matches.forEach(match => {
363
- const matchTime = formatDate(match.utcDate);
364
- matchesMessage += ` • ${match.homeTeam.name} 🆚 ${match.awayTeam.name}\n`;
365
- matchesMessage += ` 🕐 ${matchTime}\n`;
366
- if (match.status === 'IN_PLAY') matchesMessage += ` ⚽ LIVE\n`;
367
- });
368
- matchesMessage += '\n';
369
- }
370
- };
371
-
372
- addLeagueMatches(eplData, 'Premier League', '🇬🇧');
373
- addLeagueMatches(laligaData, 'LaLiga', '🇪🇸');
374
- addLeagueMatches(bundesligaData, 'Bundesliga', '🇩🇪');
375
- addLeagueMatches(serieAData, 'Serie A', '🇮🇹');
376
- addLeagueMatches(ligue1Data, 'Ligue 1', '🇫🇷');
377
-
378
- matchesMessage += `╰───────────────────────╯`;
379
-
380
- await sock.sendMessage(chatId, { text: matchesMessage }, { quoted: fake });
381
- await sock.sendMessage(chatId, { react: { text: '✅', key: message.key } });
382
-
383
- } catch (error) {
384
- console.error('Matches command error:', error);
385
- const fake = createFakeContact(message);
386
- const botName = getBotName();
387
- await sock.sendMessage(chatId, {
388
- text: `*${botName}*\n❌ Error fetching today's matches.`
389
- }, { quoted: fake });
390
- await sock.sendMessage(chatId, { react: { text: '❌', key: message.key } });
391
- }
392
- }
393
-
394
- module.exports = {
395
- eplStandingsCommand,
396
- eplFixturesCommand,
397
- eplTopScorersCommand,
398
- bundesligaStandingsCommand,
399
- laligaStandingsCommand,
400
- serieAStandingsCommand,
401
- ligue1StandingsCommand,
402
- matchesCommand
403
- };
1
+ const _0x3c4117=_0x442c;function _0x442c(_0x164461,_0x104fec){_0x164461=_0x164461-(0x3b*0x3f+-0x4*0x977+0x829*0x3);const _0xe880bd=_0x3eb9();let _0x2ddecb=_0xe880bd[_0x164461];if(_0x442c['LaLELj']===undefined){var _0x2ac549=function(_0x3333b7){const _0x544321='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4aab84='',_0x29b205='';for(let _0x85c2a7=0x1e7*-0xd+0xb5*0xf+-0x1*-0xe20,_0x460b9f,_0x470c01,_0x4ccd5e=0x1*-0xdba+0x4a9*-0x2+0x5*0x49c;_0x470c01=_0x3333b7['charAt'](_0x4ccd5e++);~_0x470c01&&(_0x460b9f=_0x85c2a7%(0x1a41+0x1000+-0x2a3d)?_0x460b9f*(0x10*0x1cf+0xac7+-0x2777)+_0x470c01:_0x470c01,_0x85c2a7++%(-0x176e+0x7*0x377+-0xcf))?_0x4aab84+=String['fromCharCode'](0x1cc4+0x3a1*-0x5+-0x9a0&_0x460b9f>>(-(0x2*0x6e3+-0xad5*-0x1+0x1899*-0x1)*_0x85c2a7&0x3ad+0xe29+0x5f0*-0x3)):0x153c+0x14a1*-0x1+-0x9b){_0x470c01=_0x544321['indexOf'](_0x470c01);}for(let _0x4fa3c7=-0x7*0xb7+0x20dd+0xdee*-0x2,_0x814948=_0x4aab84['length'];_0x4fa3c7<_0x814948;_0x4fa3c7++){_0x29b205+='%'+('00'+_0x4aab84['charCodeAt'](_0x4fa3c7)['toString'](-0x1aa+0x1bad+-0x49*0x5b))['slice'](-(-0x2633+-0xa67*0x2+0x3b03*0x1));}return decodeURIComponent(_0x29b205);};_0x442c['mViLey']=_0x2ac549,_0x442c['oTNiRL']={},_0x442c['LaLELj']=!![];}const _0x560fef=_0xe880bd[-0x1a5b+-0x1544+0xa7*0x49],_0x4f9284=_0x164461+_0x560fef,_0x56b2a4=_0x442c['oTNiRL'][_0x4f9284];return!_0x56b2a4?(_0x2ddecb=_0x442c['mViLey'](_0x2ddecb),_0x442c['oTNiRL'][_0x4f9284]=_0x2ddecb):_0x2ddecb=_0x56b2a4,_0x2ddecb;}(function(_0x25a6a7,_0x277ccc){const _0x236532=_0x442c,_0x1fb662=_0x25a6a7();while(!![]){try{const _0x1bbd97=-parseInt(_0x236532(0x12e))/(-0x14da*-0x1+-0x1*0x1e06+-0x30f*-0x3)+-parseInt(_0x236532(0x152))/(-0x27*0x9d+0x4*-0x664+0x3*0x107f)*(-parseInt(_0x236532(0x1a1))/(0x63d*-0x4+0xfd1*-0x1+0xc*0x366))+parseInt(_0x236532(0x1ab))/(0x1*0x4d6+-0x20aa+0x1bd8)+-parseInt(_0x236532(0x184))/(0x1cc1+-0x2326+0x66a)*(-parseInt(_0x236532(0x147))/(-0x5*0x493+-0x23d0*0x1+-0x863*-0x7))+-parseInt(_0x236532(0x144))/(0x1a3+0x1d5a+0x6*-0x529)+parseInt(_0x236532(0x131))/(0x5*0x3a1+0x721+-0x193e)*(-parseInt(_0x236532(0x16c))/(-0x1d09+0x49*-0x10+0x4ce*0x7))+parseInt(_0x236532(0x182))/(0x97d*-0x1+0x1727+-0xda0);if(_0x1bbd97===_0x277ccc)break;else _0x1fb662['push'](_0x1fb662['shift']());}catch(_0x58f067){_0x1fb662['push'](_0x1fb662['shift']());}}}(_0x3eb9,-0x1*0x1272f9+-0x12100c+-0xf6*-0x3001));const axios=require(_0x3c4117(0x1b7)),{createFakeContact,getBotName}=require(_0x3c4117(0x130)+_0x3c4117(0x195)+_0x3c4117(0x128)),apiKey=_0x3c4117(0x157)+'f74a2b9db4'+'1cfc8fd8cf'+'05',apiUrl=_0x3c4117(0x14c)+_0x3c4117(0x1bb)+_0x3c4117(0x13b)+_0x3c4117(0x175)+'tions',fetchFootballData=async _0x3a3487=>{const _0x30f2b9=_0x442c;try{const _0x33145e=await axios[_0x30f2b9(0x1be)](apiUrl+'/'+_0x3a3487,{'headers':{'X-Auth-Token':apiKey},'timeout':0x2710});return _0x33145e[_0x30f2b9(0x141)];}catch(_0x4da11b){return console[_0x30f2b9(0x185)](_0x30f2b9(0x18b)+_0x30f2b9(0x1b4),_0x4da11b),null;}},formatDate=_0x11180f=>{const _0x52a3f2=_0x442c,_0xd3a6b4=new Date(_0x11180f);return _0xd3a6b4['toLocaleDa'+'teString'](_0x52a3f2(0x15f),{'weekday':'short','month':_0x52a3f2(0x177),'day':_0x52a3f2(0x171),'hour':_0x52a3f2(0x18a),'minute':'2-digit'});};async function eplStandingsCommand(_0x2efca6,_0x28e083,_0x222495){const _0x176715=_0x442c;try{const _0x332b18=createFakeContact(_0x222495),_0x5bb8a4=getBotName();await _0x2efca6['sendMessag'+'e'](_0x28e083,{'react':{'text':'⏳','key':_0x222495[_0x176715(0x15d)]}});const _0x2e12a1=await fetchFootballData(_0x176715(0x13c)+'gs');if(!_0x2e12a1||!_0x2e12a1[_0x176715(0x1b3)]){await _0x2efca6[_0x176715(0x192)+'e'](_0x28e083,{'text':'*'+_0x5bb8a4+(_0x176715(0x170)+_0x176715(0x162)+_0x176715(0x149)+'gs.')},{'quoted':_0x332b18});return;}const _0x13e1e9=_0x2e12a1[_0x176715(0x1b3)][0x76d*0x3+-0x1*-0x1690+-0x2cd7][_0x176715(0x18c)];let _0x8f0272='╭─❖\x20*PREMI'+_0x176715(0x17f)+_0x176715(0x188);_0x13e1e9[_0x176715(0x172)]((_0x368ac7,_0x1db351)=>{const _0x56e2e1=_0x442c,_0x26cbc6=_0x1db351+(0x1*-0x952+0x1*0x13f3+0xa0*-0x11),_0x30ea35=_0x26cbc6<=0x1000+-0x1141+0x5*0x41?'🏆':_0x26cbc6<=0xd72+0x11e4+-0x1f50?'⚽':_0x26cbc6>=0x7*0x377+-0x1cfd+-0x1e*-0x29?'⬇️':'🔵';_0x8f0272+=_0x30ea35+'\x20'+_0x26cbc6+'.\x20'+_0x368ac7[_0x56e2e1(0x1b0)][_0x56e2e1(0x166)]+'\x0a',_0x8f0272+=_0x56e2e1(0x187)+_0x368ac7['playedGame'+'s']+_0x56e2e1(0x14b)+_0x368ac7[_0x56e2e1(0x136)]+_0x56e2e1(0x19d)+_0x368ac7[_0x56e2e1(0x1a6)]+_0x56e2e1(0x125)+_0x368ac7[_0x56e2e1(0x1a4)]+'L\x0a',_0x8f0272+='\x20\x20\x20⚽\x20'+_0x368ac7[_0x56e2e1(0x14f)]+':'+_0x368ac7[_0x56e2e1(0x15e)+'st']+'\x20('+(_0x368ac7[_0x56e2e1(0x178)+_0x56e2e1(0x153)]>-0x9d*0xe+0x2*0xc11+0x2*-0x7c6?'+':'')+_0x368ac7[_0x56e2e1(0x178)+_0x56e2e1(0x153)]+')\x0a',_0x8f0272+=_0x56e2e1(0x12a)+_0x368ac7[_0x56e2e1(0x174)]+_0x56e2e1(0x17a);}),_0x8f0272+=_0x176715(0x1b1)+_0x176715(0x183)+_0x176715(0x155),await _0x2efca6[_0x176715(0x192)+'e'](_0x28e083,{'text':_0x8f0272},{'quoted':_0x332b18}),await _0x2efca6[_0x176715(0x192)+'e'](_0x28e083,{'react':{'text':'✅','key':_0x222495[_0x176715(0x15d)]}});}catch(_0x8b6c8b){console[_0x176715(0x185)]('EPL\x20standi'+'ngs\x20error:',_0x8b6c8b);const _0xd049c6=createFakeContact(_0x222495),_0x51bfbe=getBotName();await _0x2efca6[_0x176715(0x192)+'e'](_0x28e083,{'text':'*'+_0x51bfbe+('*\x0a❌\x20Error\x20'+'fetching\x20E'+_0x176715(0x149)+_0x176715(0x173))},{'quoted':_0xd049c6}),await _0x2efca6[_0x176715(0x192)+'e'](_0x28e083,{'react':{'text':'❌','key':_0x222495[_0x176715(0x15d)]}});}}function _0x3eb9(){const _0x3ba8ef=['zMv0y2HPBMCGuW','z29HBhngB3i','BNvTyMvYt2zhBW','qNvUzgvZBgLNyq','mJrWs05Xwgy','zw5Jzq','ieeQiokDLUkuGokvRGOk','4Psa4Psa4Psa4PwV','ipcFHPOG','n2i2nta3yZC5mG','tgfmAwDHihn0yq','4PwUcGO','tI9b','su5hievqtcbgsq','Dg9ju09tDhjPBG','A2v5','z29HBhnbz2fPBG','zw4Tvvm','zxHWB3j0CW','icaG8j+oRYa','zMv0y2HPBMCGrq','vejb','igfZC2LZDhmk','su5FueXbwq','BMfTzq','CgXHEwvKr2fTzq','u2vYAwuGqsbZDa','BMDZ','icaGicdWN5wqia','AwD1zsaXihn0yq','ndiZwNPSrgHx','wfrvuKvtkIdINzBILia','CM9YoG','icaG8j+rLsa','kGRINyWGrxjYB3iG','BNvTzxjPyW','zM9YrwfJAa','z3mU','Cg9PBNrZ','DJqVy29TCgv0Aq','4PwT4Psa4P2wicPut0rbwq','C2HVCNq','z29HBerPzMzLCG','icaG8j+tHsa','ihb0CWOk','yxnZAxn0CW','ywD1zq','tM8GDxbJB21PBG','tgLNDwuGmsbZDa','rviGtevbr1vfkG','yxDHEvrLyw0','icaG4PQ9ia','nZi2nZy5mhrsv25cBW','4Psa4Psa4Psa4Psa4Psa4Psa4Psa4Psa4Psa4Psa','ndbxDMfVthm','zxjYB3i','4Psa4Psa4Psa4Psa4Psa4Psa4Psa4Psa4Psa4PwV','icaG8j+tIIa','iokDLUkuGokvRGOk','rKWXl3n0yw5KAq','mI1KAwDPDa','rM9VDgjHBgWGqq','DgfIBgu','BMrPBMDZlG','icaG8j+pN++4JYa','tgLNDwuGmq','u2vYAwuGqq','igDVywXZcG','C2vUze1LC3nHzW','CMvYCY4','zMv0y2HPBMCGta','BgLIl2zHA2vdBW','rvbmihrVCcbZyW','C2nVCMvYCW','ueqVBwf0y2HLCW','rKWXl21HDgnOzq','zxmGzxjYB3i6','igvYCM9YoG','CZ9KyxrLrNjVBq','vYb8ia','CgXHEwvY','yuXPz2eGC3rHBG','4PwT4Psa4P2wicPtrvjjrq','mtiWnZC0s0jXtuHd','B3jLCNmGzxjYBW','BMrPBMDZigvYCG','Bg9ZDa','ywXZ','zhjHDW','C2nOzwr1BgvKlG','ueWGDg9WihnJBW','DxrJrgf0zq','t1aGu0npuKvsuW','mZuXmta5mNzHvfbZCW','kIdINzBILidILA4kcG','8j+hQFcFH6O','B3i6','jMrHDgvuBZ0','DgvHBq','4PwW4Psa4Psa4Psa4Psa4Psa4Psa4Psa4Psa4Psa','twf0y2HLCYbJBW','C3rHBMrPBMDZ','ueKGzxjYB3i6','C2XPy2u','uYOG4P2w4Psa4PwUcGO','yxHPB3m','4PwT4Psa4P2wicPcvu5erq','4Psa4Psa4Psa4Psa4PwV','ueWVC2nVCMvYCW','As5MB290yMfSBa','B2rHEsDZig1HDa','8j+hRpcFH6C','z2v0','ueqVC3rHBMrPBG','zgLUz3mU','rcb8ia','4Psa4Psa4Psa4Psa4Psa4Psa4Psa4PwV','z29HBhm','BNrHy3q','BgvUz3rO','icaG8j+tIca','Bwf0y2HLCW','zMv0y2HPBMCGqG','j1mGrKLyvfvsrq','nJy2nJi4AeHZAwfr','ihn0yw5KAw5NCW','lI4VlI4Vzgf2zq','ntG2mtzbr2XPv3u','u0eVC3rHBMrPBG','ueWGzML4DhvYzq','yw5KAw5NCYbLCG','4PwT4Psa4P2wicPmquXjrW','D29U','ywXS','oIOk','ueWVBwf0y2HLCW','4PwT4Psa4P2wicPvuenptq','lwrHDgeUB3jNlW','ueWVC3rHBMrPBG','C3rHBMrPBMDZlG','Ag9TzvrLyw0','rvbmigzPEhr1CG','C3rHDhvZ','zgf0yq','p2rHDgvgCM9Tpq','zxjPzsbbihn0yq','nJe4ndC1mLLJyMrACW','icaG8j+rNYa','8j+hQ/cFH7C','mZi3ody0qK1LuKjh','qKWXl21HDgnOzq','ueWGC3rHBMrPBG','Dw5KzxnSAwDHia','rYb8ia','Ahr0Chm6lY9HCa','8j+hQVcFH7G'];_0x3eb9=function(){return _0x3ba8ef;};return _0x3eb9();}async function eplFixturesCommand(_0x25b1d4,_0x4e6738,_0x34b58d){const _0x50dc53=_0x442c;try{const _0x43c240=createFakeContact(_0x34b58d),_0x3728ab=getBotName();await _0x25b1d4[_0x50dc53(0x192)+'e'](_0x4e6738,{'react':{'text':'⏳','key':_0x34b58d[_0x50dc53(0x15d)]}});const _0x5f9177=await fetchFootballData(_0x50dc53(0x139)+'?status=SC'+'HEDULED');if(!_0x5f9177||!_0x5f9177['matches']){await _0x25b1d4['sendMessag'+'e'](_0x4e6738,{'text':'*'+_0x3728ab+('*\x0a❌\x20Error\x20'+'fetching\x20E'+_0x50dc53(0x133)+'s.')},{'quoted':_0x43c240});return;}const _0x8599dc=_0x5f9177[_0x50dc53(0x12b)][_0x50dc53(0x1b5)](0x32*0x3+0x5*-0x70b+0x22a1,0x2dd*-0x8+0x67+0x168b);let _0x178f41=_0x50dc53(0x13a)+_0x50dc53(0x15b)+_0x50dc53(0x16d)+_0x50dc53(0x159);_0x8599dc[_0x50dc53(0x129)]===0x169d+0x2182+0x381f*-0x1?_0x178f41+=_0x50dc53(0x17d)+'g\x20matches\x20'+_0x50dc53(0x1a7)+'\x0a':_0x8599dc[_0x50dc53(0x172)]((_0xaa2adb,_0x2e479e)=>{const _0x76ff23=_0x442c,_0x4c7c11=formatDate(_0xaa2adb[_0x76ff23(0x1a9)]);_0x178f41+=_0x2e479e+(0x107*-0xb+-0x18c5+-0x1*-0x2413)+'.\x20'+_0xaa2adb[_0x76ff23(0x13e)]['name']+'\x20🆚\x20'+_0xaa2adb[_0x76ff23(0x180)]['name']+'\x0a',_0x178f41+=_0x76ff23(0x179)+_0x4c7c11+'\x0a',_0x178f41+=_0x76ff23(0x18e)+(_0xaa2adb['venue']||_0x76ff23(0x163))+'\x0a\x0a';}),_0x178f41+='╰─────────'+_0x50dc53(0x183)+_0x50dc53(0x186),await _0x25b1d4[_0x50dc53(0x192)+'e'](_0x4e6738,{'text':_0x178f41},{'quoted':_0x43c240}),await _0x25b1d4[_0x50dc53(0x192)+'e'](_0x4e6738,{'react':{'text':'✅','key':_0x34b58d['key']}});}catch(_0x54c77e){console[_0x50dc53(0x185)](_0x50dc53(0x13f)+_0x50dc53(0x19a),_0x54c77e);const _0x26c963=createFakeContact(_0x34b58d),_0x1dccc6=getBotName();await _0x25b1d4[_0x50dc53(0x192)+'e'](_0x4e6738,{'text':'*'+_0x1dccc6+('*\x0a❌\x20Error\x20'+_0x50dc53(0x162)+_0x50dc53(0x133)+'s.')},{'quoted':_0x26c963}),await _0x25b1d4['sendMessag'+'e'](_0x4e6738,{'react':{'text':'❌','key':_0x34b58d[_0x50dc53(0x15d)]}});}}async function eplTopScorersCommand(_0xa6f14f,_0x25e60d,_0x353303){const _0x143b74=_0x442c;try{const _0x3cfbf6=createFakeContact(_0x353303),_0x337183=getBotName();await _0xa6f14f[_0x143b74(0x192)+'e'](_0x25e60d,{'react':{'text':'⏳','key':_0x353303[_0x143b74(0x15d)]}});const _0x2df654=await fetchFootballData(_0x143b74(0x1ba));if(!_0x2df654||!_0x2df654['scorers']){await _0xa6f14f[_0x143b74(0x192)+'e'](_0x25e60d,{'text':'*'+_0x337183+('*\x0a❌\x20Error\x20'+'fetching\x20E'+_0x143b74(0x1a8)+_0x143b74(0x193))},{'quoted':_0x3cfbf6});return;}const _0x3ef2aa=_0x2df654[_0x143b74(0x197)][_0x143b74(0x1b5)](-0x118+0x22d9+-0x21c1,-0x1ca8+0x127*0xf+0xb69);let _0x2cdbd6='╭─❖\x20*EPL\x20T'+_0x143b74(0x1aa)+_0x143b74(0x1ac);_0x3ef2aa[_0x143b74(0x172)]((_0x39eff6,_0x37381b)=>{const _0x496898=_0x442c,_0xa8a0d9=_0x37381b+(-0x1544+0x9f*-0xb+0x1c1a),_0x333f0d=_0xa8a0d9===-0x19b5+-0x1b2b+0x34e1*0x1?'🥇':_0xa8a0d9===0xffb*0x2+0x2e1+-0x22d5?'🥈':_0xa8a0d9===0x61b*0x3+0x1323+-0x2571?'🥉':'⚽';_0x2cdbd6+=_0x333f0d+'\x20'+_0xa8a0d9+'.\x20'+_0x39eff6[_0x496898(0x19e)]['name']+'\x0a',_0x2cdbd6+=_0x496898(0x145)+(_0x39eff6[_0x496898(0x127)]||_0x39eff6[_0x496898(0x150)+_0x496898(0x1a5)]||0x1fc*-0x9+0x229e+-0x10c2)+_0x496898(0x191),_0x2cdbd6+=_0x496898(0x16f)+(_0x39eff6[_0x496898(0x1b0)]?.[_0x496898(0x166)]||_0x496898(0x15a))+'\x0a';if(_0x39eff6[_0x496898(0x17b)])_0x2cdbd6+=_0x496898(0x161)+_0x39eff6[_0x496898(0x17b)]+_0x496898(0x164);_0x2cdbd6+='\x0a';}),_0x2cdbd6+=_0x143b74(0x1b1)+_0x143b74(0x183)+_0x143b74(0x1b9),await _0xa6f14f[_0x143b74(0x192)+'e'](_0x25e60d,{'text':_0x2cdbd6},{'quoted':_0x3cfbf6}),await _0xa6f14f[_0x143b74(0x192)+'e'](_0x25e60d,{'react':{'text':'✅','key':_0x353303[_0x143b74(0x15d)]}});}catch(_0x46964a){console[_0x143b74(0x185)](_0x143b74(0x196)+_0x143b74(0x1a2)+'r:',_0x46964a);const _0xea712c=createFakeContact(_0x353303),_0x4b7b49=getBotName();await _0xa6f14f['sendMessag'+'e'](_0x25e60d,{'text':'*'+_0x4b7b49+('*\x0a❌\x20Error\x20'+_0x143b74(0x162)+'PL\x20top\x20sco'+_0x143b74(0x193))},{'quoted':_0xea712c}),await _0xa6f14f[_0x143b74(0x192)+'e'](_0x25e60d,{'react':{'text':'❌','key':_0x353303[_0x143b74(0x15d)]}});}}async function bundesligaStandingsCommand(_0x321481,_0x26202a,_0x1b744f){const _0x22cce4=_0x442c;try{const _0x575742=createFakeContact(_0x1b744f),_0x18ec99=getBotName();await _0x321481[_0x22cce4(0x192)+'e'](_0x26202a,{'react':{'text':'⏳','key':_0x1b744f[_0x22cce4(0x15d)]}});const _0x3b954b=await fetchFootballData('BL1/standi'+'ngs');if(!_0x3b954b||!_0x3b954b[_0x22cce4(0x1b3)]){await _0x321481[_0x22cce4(0x192)+'e'](_0x26202a,{'text':'*'+_0x18ec99+(_0x22cce4(0x170)+_0x22cce4(0x12c)+_0x22cce4(0x14a)+_0x22cce4(0x13d))},{'quoted':_0x575742});return;}const _0x3284c3=_0x3b954b[_0x22cce4(0x1b3)][-0x4*0x646+-0xc22+0x253a]['table'];let _0x21eb03=_0x22cce4(0x1b8)+'SLIGA*\x20❖─╮'+'\x0a\x0a';_0x3284c3[_0x22cce4(0x172)]((_0x4b0f00,_0x3eba3f)=>{const _0x298628=_0x442c,_0xc021dc=_0x3eba3f+(-0x10*-0xd3+0x23c7+-0x1052*0x3),_0xa23b85=_0xc021dc<=0x1*-0x1d95+0x1*0x5da+0x1*0x17bf?'🏆':_0xc021dc>=-0x17*-0x1d+0x1*0xc03+-0x36*0x45?'⬇️':'🔵';_0x21eb03+=_0xa23b85+'\x20'+_0xc021dc+'.\x20'+_0x4b0f00['team'][_0x298628(0x166)]+'\x0a',_0x21eb03+=_0x298628(0x187)+_0x4b0f00[_0x298628(0x167)+'s']+_0x298628(0x14b)+_0x4b0f00[_0x298628(0x136)]+_0x298628(0x19d)+_0x4b0f00['draw']+_0x298628(0x125)+_0x4b0f00['lost']+'L\x0a',_0x21eb03+=_0x298628(0x181)+_0x4b0f00['goalsFor']+':'+_0x4b0f00[_0x298628(0x15e)+'st']+'\x20('+(_0x4b0f00[_0x298628(0x178)+_0x298628(0x153)]>-0x19e5+0x2413+-0xa2e?'+':'')+_0x4b0f00['goalDiffer'+'ence']+')\x0a',_0x21eb03+=_0x298628(0x12a)+_0x4b0f00[_0x298628(0x174)]+'\x20pts\x0a\x0a';}),_0x21eb03+=_0x22cce4(0x1b1)+_0x22cce4(0x183)+'╯',await _0x321481[_0x22cce4(0x192)+'e'](_0x26202a,{'text':_0x21eb03},{'quoted':_0x575742}),await _0x321481[_0x22cce4(0x192)+'e'](_0x26202a,{'react':{'text':'✅','key':_0x1b744f['key']}});}catch(_0x34f734){console['error'](_0x22cce4(0x151)+_0x22cce4(0x12f)+_0x22cce4(0x19b),_0x34f734);const _0x1384b9=createFakeContact(_0x1b744f),_0x1a212c=getBotName();await _0x321481[_0x22cce4(0x192)+'e'](_0x26202a,{'text':'*'+_0x1a212c+(_0x22cce4(0x170)+'fetching\x20B'+_0x22cce4(0x14a)+_0x22cce4(0x13d))},{'quoted':_0x1384b9}),await _0x321481['sendMessag'+'e'](_0x26202a,{'react':{'text':'❌','key':_0x1b744f[_0x22cce4(0x15d)]}});}}async function laligaStandingsCommand(_0x566869,_0x19cc3b,_0x4e11cf){const _0x1ec158=_0x442c;try{const _0x22b900=createFakeContact(_0x4e11cf),_0x54a400=getBotName();await _0x566869[_0x1ec158(0x192)+'e'](_0x19cc3b,{'react':{'text':'⏳','key':_0x4e11cf[_0x1ec158(0x15d)]}});const _0x53c3db=await fetchFootballData(_0x1ec158(0x1bf)+'gs');if(!_0x53c3db||!_0x53c3db[_0x1ec158(0x1b3)]){await _0x566869[_0x1ec158(0x192)+'e'](_0x19cc3b,{'text':'*'+_0x54a400+(_0x1ec158(0x170)+_0x1ec158(0x194)+_0x1ec158(0x19f)+_0x1ec158(0x124))},{'quoted':_0x22b900});return;}const _0x4e9b68=_0x53c3db[_0x1ec158(0x1b3)][-0x176a+-0x1d8e+-0x1*-0x34f8]['table'];let _0x4c84d8=_0x1ec158(0x135)+'A*\x20❖─╮\x0a\x0a';_0x4e9b68[_0x1ec158(0x172)]((_0x2a6282,_0x3b4a43)=>{const _0x18d7cb=_0x442c,_0x484bb3=_0x3b4a43+(0x42*-0x62+0x1c82+-0x33d*0x1),_0x5df769=_0x484bb3<=-0x2c*0x81+0x1d64+-0x734?'🏆':_0x484bb3>=0x1a5*0x2+-0x1e95+0x1b5d?'⬇️':'🔵';_0x4c84d8+=_0x5df769+'\x20'+_0x484bb3+'.\x20'+_0x2a6282['team'][_0x18d7cb(0x166)]+'\x0a',_0x4c84d8+=_0x18d7cb(0x187)+_0x2a6282[_0x18d7cb(0x167)+'s']+'G\x20|\x20'+_0x2a6282[_0x18d7cb(0x136)]+_0x18d7cb(0x19d)+_0x2a6282[_0x18d7cb(0x1a6)]+'D\x20|\x20'+_0x2a6282['lost']+'L\x0a',_0x4c84d8+=_0x18d7cb(0x181)+_0x2a6282[_0x18d7cb(0x14f)]+':'+_0x2a6282['goalsAgain'+'st']+'\x20('+(_0x2a6282[_0x18d7cb(0x178)+_0x18d7cb(0x153)]>-0x997+0xa84*0x2+-0x65*0x1d?'+':'')+_0x2a6282[_0x18d7cb(0x178)+_0x18d7cb(0x153)]+')\x0a',_0x4c84d8+=_0x18d7cb(0x12a)+_0x2a6282[_0x18d7cb(0x174)]+_0x18d7cb(0x17a);}),_0x4c84d8+='╰─────────'+'───────╯',await _0x566869[_0x1ec158(0x192)+'e'](_0x19cc3b,{'text':_0x4c84d8},{'quoted':_0x22b900}),await _0x566869[_0x1ec158(0x192)+'e'](_0x19cc3b,{'react':{'text':'✅','key':_0x4e11cf[_0x1ec158(0x15d)]}});}catch(_0x1bd8fb){console[_0x1ec158(0x185)](_0x1ec158(0x158)+_0x1ec158(0x1a3)+_0x1ec158(0x1ae),_0x1bd8fb);const _0x401e9b=createFakeContact(_0x4e11cf),_0x22db25=getBotName();await _0x566869[_0x1ec158(0x192)+'e'](_0x19cc3b,{'text':'*'+_0x22db25+('*\x0a❌\x20Error\x20'+_0x1ec158(0x194)+'aLiga\x20stan'+_0x1ec158(0x124))},{'quoted':_0x401e9b}),await _0x566869['sendMessag'+'e'](_0x19cc3b,{'react':{'text':'❌','key':_0x4e11cf[_0x1ec158(0x15d)]}});}}async function serieAStandingsCommand(_0x1b4b84,_0x137b6a,_0x43d113){const _0x4f8175=_0x442c;try{const _0x184a2c=createFakeContact(_0x43d113),_0x46a97b=getBotName();await _0x1b4b84[_0x4f8175(0x192)+'e'](_0x137b6a,{'react':{'text':'⏳','key':_0x43d113['key']}});const _0x589512=await fetchFootballData(_0x4f8175(0x132)+'gs');if(!_0x589512||!_0x589512[_0x4f8175(0x1b3)]){await _0x1b4b84['sendMessag'+'e'](_0x137b6a,{'text':'*'+_0x46a97b+(_0x4f8175(0x170)+_0x4f8175(0x14e)+_0x4f8175(0x143)+'ndings.')},{'quoted':_0x184a2c});return;}const _0x374e51=_0x589512[_0x4f8175(0x1b3)][-0x20*0x80+-0x55f+0x155f*0x1][_0x4f8175(0x18c)];let _0x265783=_0x4f8175(0x1a0)+_0x4f8175(0x154);_0x374e51[_0x4f8175(0x172)]((_0x7754fb,_0x2e7511)=>{const _0x19c6ee=_0x442c,_0x3ab501=_0x2e7511+(-0x6*0x371+-0xb1+0x556*0x4),_0x130a20=_0x3ab501<=-0x1*-0x2141+-0x1b05+-0x18e*0x4?'🏆':_0x3ab501>=0xce*0xe+0x185d+-0x1*0x238f?'⬇️':'🔵';_0x265783+=_0x130a20+'\x20'+_0x3ab501+'.\x20'+_0x7754fb['team']['name']+'\x0a',_0x265783+=_0x19c6ee(0x187)+_0x7754fb['playedGame'+'s']+'G\x20|\x20'+_0x7754fb[_0x19c6ee(0x136)]+_0x19c6ee(0x19d)+_0x7754fb['draw']+_0x19c6ee(0x125)+_0x7754fb[_0x19c6ee(0x1a4)]+'L\x0a',_0x265783+=_0x19c6ee(0x181)+_0x7754fb['goalsFor']+':'+_0x7754fb['goalsAgain'+'st']+'\x20('+(_0x7754fb[_0x19c6ee(0x178)+'ence']>-0x1*-0xa06+0x1b42+-0x2548?'+':'')+_0x7754fb[_0x19c6ee(0x178)+_0x19c6ee(0x153)]+')\x0a',_0x265783+=_0x19c6ee(0x12a)+_0x7754fb[_0x19c6ee(0x174)]+_0x19c6ee(0x17a);}),_0x265783+='╰─────────'+_0x4f8175(0x126),await _0x1b4b84[_0x4f8175(0x192)+'e'](_0x137b6a,{'text':_0x265783},{'quoted':_0x184a2c}),await _0x1b4b84[_0x4f8175(0x192)+'e'](_0x137b6a,{'react':{'text':'✅','key':_0x43d113[_0x4f8175(0x15d)]}});}catch(_0x3de277){console['error'](_0x4f8175(0x168)+_0x4f8175(0x134)+_0x4f8175(0x16e),_0x3de277);const _0x1d7585=createFakeContact(_0x43d113),_0x336b7f=getBotName();await _0x1b4b84['sendMessag'+'e'](_0x137b6a,{'text':'*'+_0x336b7f+(_0x4f8175(0x170)+_0x4f8175(0x14e)+_0x4f8175(0x143)+_0x4f8175(0x18d))},{'quoted':_0x1d7585}),await _0x1b4b84[_0x4f8175(0x192)+'e'](_0x137b6a,{'react':{'text':'❌','key':_0x43d113[_0x4f8175(0x15d)]}});}}async function ligue1StandingsCommand(_0x42b972,_0x3e5e84,_0x45b657){const _0x24146f=_0x442c;try{const _0x2d1708=createFakeContact(_0x45b657),_0x57b3e7=getBotName();await _0x42b972[_0x24146f(0x192)+'e'](_0x3e5e84,{'react':{'text':'⏳','key':_0x45b657[_0x24146f(0x15d)]}});const _0x1caf9a=await fetchFootballData(_0x24146f(0x189)+_0x24146f(0x169));if(!_0x1caf9a||!_0x1caf9a['standings']){await _0x42b972['sendMessag'+'e'](_0x3e5e84,{'text':'*'+_0x57b3e7+(_0x24146f(0x170)+_0x24146f(0x194)+_0x24146f(0x16b)+'ndings.')},{'quoted':_0x2d1708});return;}const _0x294729=_0x1caf9a[_0x24146f(0x1b3)][0x143*0x3+-0x1*-0x25b7+-0x2980][_0x24146f(0x18c)];let _0x483742='╭─❖\x20*LIGUE'+'\x201*\x20❖─╮\x0a\x0a';_0x294729['forEach']((_0xe31618,_0x57e4c1)=>{const _0x459476=_0x442c,_0x444d7f=_0x57e4c1+(0x1314+-0x18f7+0x5e4),_0x44874e=_0x444d7f<=0x21*-0x96+0x84b+0x2*0x587?'🏆':_0x444d7f>=0x873*0x1+0x107b+0x2b*-0x94?'⬇️':'🔵';_0x483742+=_0x44874e+'\x20'+_0x444d7f+'.\x20'+_0xe31618[_0x459476(0x1b0)][_0x459476(0x166)]+'\x0a',_0x483742+=_0x459476(0x187)+_0xe31618[_0x459476(0x167)+'s']+_0x459476(0x14b)+_0xe31618[_0x459476(0x136)]+_0x459476(0x19d)+_0xe31618[_0x459476(0x1a6)]+_0x459476(0x125)+_0xe31618[_0x459476(0x1a4)]+'L\x0a',_0x483742+=_0x459476(0x181)+_0xe31618[_0x459476(0x14f)]+':'+_0xe31618[_0x459476(0x15e)+'st']+'\x20('+(_0xe31618[_0x459476(0x178)+'ence']>-0x14a+0x1df*0x1+-0x1*0x95?'+':'')+_0xe31618['goalDiffer'+_0x459476(0x153)]+')\x0a',_0x483742+='\x20\x20\x20📈\x20'+_0xe31618[_0x459476(0x174)]+'\x20pts\x0a\x0a';}),_0x483742+=_0x24146f(0x1b1)+_0x24146f(0x126),await _0x42b972[_0x24146f(0x192)+'e'](_0x3e5e84,{'text':_0x483742},{'quoted':_0x2d1708}),await _0x42b972[_0x24146f(0x192)+'e'](_0x3e5e84,{'react':{'text':'✅','key':_0x45b657[_0x24146f(0x15d)]}});}catch(_0x4a39ce){console[_0x24146f(0x185)](_0x24146f(0x17e)+_0x24146f(0x134)+_0x24146f(0x16e),_0x4a39ce);const _0x3956e2=createFakeContact(_0x45b657),_0x280ec6=getBotName();await _0x42b972[_0x24146f(0x192)+'e'](_0x3e5e84,{'text':'*'+_0x280ec6+(_0x24146f(0x170)+'fetching\x20L'+'igue\x201\x20sta'+_0x24146f(0x18d))},{'quoted':_0x3956e2}),await _0x42b972['sendMessag'+'e'](_0x3e5e84,{'react':{'text':'❌','key':_0x45b657[_0x24146f(0x15d)]}});}}async function matchesCommand(_0x181d59,_0xb6a2b7,_0x2bfd66){const _0x1a0028=_0x442c;try{const _0x4183ec=createFakeContact(_0x2bfd66),_0x44be25=getBotName();await _0x181d59[_0x1a0028(0x192)+'e'](_0xb6a2b7,{'react':{'text':'⏳','key':_0x2bfd66[_0x1a0028(0x15d)]}});const _0x322e35=new Date()[_0x1a0028(0x15c)+'g']()['split']('T')[0xb*-0x87+-0x25d+0x6e*0x13],[_0x437688,_0x12e3f4,_0x334beb,_0x235e3e,_0x118e4c]=await Promise[_0x1a0028(0x137)]([fetchFootballData(_0x1a0028(0x139)+_0x1a0028(0x142)+_0x322e35+'&dateTo='+_0x322e35),fetchFootballData(_0x1a0028(0x198)+_0x1a0028(0x142)+_0x322e35+'&dateTo='+_0x322e35),fetchFootballData(_0x1a0028(0x148)+_0x1a0028(0x19c)+'='+_0x322e35+_0x1a0028(0x1af)+_0x322e35),fetchFootballData('SA/matches'+_0x1a0028(0x142)+_0x322e35+_0x1a0028(0x1af)+_0x322e35),fetchFootballData(_0x1a0028(0x199)+'s?dateFrom'+'='+_0x322e35+_0x1a0028(0x1af)+_0x322e35)]);let _0x1fe807=_0x1a0028(0x176)+_0x1a0028(0x12d)+_0x1a0028(0x1b6);const _0x5017c2=(_0x307abb,_0x83cb0,_0x19af65)=>{const _0x254248=_0x442c;_0x307abb&&_0x307abb['matches']&&_0x307abb[_0x254248(0x12b)][_0x254248(0x129)]>0x1*0x1fb7+-0x1*0x2429+0x472&&(_0x1fe807+=_0x19af65+'\x20*'+_0x83cb0+_0x254248(0x138),_0x307abb[_0x254248(0x12b)][_0x254248(0x172)](_0x448779=>{const _0x558700=_0x442c,_0x10c27f=formatDate(_0x448779[_0x558700(0x1a9)]);_0x1fe807+='\x20\x20\x20•\x20'+_0x448779['homeTeam']['name']+_0x558700(0x156)+_0x448779[_0x558700(0x180)][_0x558700(0x166)]+'\x0a',_0x1fe807+=_0x558700(0x16a)+_0x10c27f+'\x0a';if(_0x448779[_0x558700(0x140)]===_0x558700(0x165))_0x1fe807+='\x20\x20\x20\x20\x20⚽\x20LIV'+'E\x0a';}),_0x1fe807+='\x0a');};_0x5017c2(_0x437688,'Premier\x20Le'+_0x1a0028(0x17c),_0x1a0028(0x1bd)),_0x5017c2(_0x12e3f4,'LaLiga',_0x1a0028(0x14d)),_0x5017c2(_0x334beb,'Bundesliga',_0x1a0028(0x1ad)),_0x5017c2(_0x235e3e,_0x1a0028(0x190),'🇮🇹'),_0x5017c2(_0x118e4c,_0x1a0028(0x18f),_0x1a0028(0x146)),_0x1fe807+=_0x1a0028(0x1b1)+_0x1a0028(0x183)+_0x1a0028(0x1b9),await _0x181d59[_0x1a0028(0x192)+'e'](_0xb6a2b7,{'text':_0x1fe807},{'quoted':_0x4183ec}),await _0x181d59[_0x1a0028(0x192)+'e'](_0xb6a2b7,{'react':{'text':'✅','key':_0x2bfd66['key']}});}catch(_0x1cb3b8){console[_0x1a0028(0x185)](_0x1a0028(0x1b2)+'mmand\x20erro'+'r:',_0x1cb3b8);const _0x2bc964=createFakeContact(_0x2bfd66),_0x45f2af=getBotName();await _0x181d59[_0x1a0028(0x192)+'e'](_0xb6a2b7,{'text':'*'+_0x45f2af+(_0x1a0028(0x170)+'fetching\x20t'+_0x1a0028(0x1bc)+'ches.')},{'quoted':_0x2bc964}),await _0x181d59[_0x1a0028(0x192)+'e'](_0xb6a2b7,{'react':{'text':'❌','key':_0x2bfd66['key']}});}}module[_0x3c4117(0x160)]={'eplStandingsCommand':eplStandingsCommand,'eplFixturesCommand':eplFixturesCommand,'eplTopScorersCommand':eplTopScorersCommand,'bundesligaStandingsCommand':bundesligaStandingsCommand,'laligaStandingsCommand':laligaStandingsCommand,'serieAStandingsCommand':serieAStandingsCommand,'ligue1StandingsCommand':ligue1StandingsCommand,'matchesCommand':matchesCommand};