Spaces:
Sleeping
Sleeping
File size: 40,434 Bytes
8d8b0ad |
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 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 |
/*╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺
⭐PROJECT NAME:
SUBZERO WHATSAPP MD BOT
⭐DEVELOPER
MR FRANK
⭐ MY TEAM
XERO CODERS
⭐ OUR WEBSITE
https://github.com/ZwSyntax/SUBZERO-MD
© TRY DECRYPTING IF YOU CAN⚠
╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺╺*/
const config = require("../config");
const {
cmd,
commands
} = require('../command');
const {
getBuffer,
getGroupAdmins,
getRandom,
h2k,
isUrl,
Json,
runtime,
sleep,
fetchJson
} = require("../lib/functions");
const _0x235552 = {
pattern: "joinrequests",
"desc": "Get list of participants who requested to join the group",
"react": '📋',
"category": "group",
filename: __filename
};
cmd(_0x235552, async (_0x4e9b1b, _0x37e247, _0x378499, {
from: _0x4fd72d,
q: _0x29e76c,
reply: _0x14e74a,
isGroup: _0x250e23
}) => {
if (!_0x250e23) {
return _0x14e74a("This command can only be used in a group chat.");
}
try {
console.log("Attempting to fetch pending requests for group: " + _0x4fd72d);
const _0x2285e0 = await _0x4e9b1b.groupRequestParticipantsList(_0x4fd72d);
console.log(_0x2285e0);
if (_0x2285e0.length > 0) {
let _0x291f66 = "Pending Requests to Join the Group:\n";
let _0x619041 = [];
_0x2285e0.forEach(_0x55480f => {
const _0x34b0d4 = _0x55480f.jid;
_0x291f66 += "😻 @" + _0x34b0d4.split('@')[0] + "\n";
_0x619041.push(_0x34b0d4);
});
const _0x14f928 = {
"text": _0x291f66,
mentions: _0x619041
};
await _0x4e9b1b.sendMessage(_0x4fd72d, _0x14f928);
} else {
_0x14e74a("No pending requests to join the group.");
}
} catch (_0xfb5304) {
console.error("Error fetching participant requests: " + _0xfb5304.message);
_0x14e74a("⚠️ An error occurred while fetching the pending requests. Please try again later.");
}
});
const _0x485005 = {
"pattern": "allreq",
"desc": "Approve or reject all join requests",
"react": '✅',
"category": "group",
filename: __filename
};
cmd(_0x485005, async (_0x4c4a0a, _0x22a536, _0x1112a6, {
from: _0xc86dd7,
reply: _0x2b6550,
isGroup: _0x3026e0
}) => {
if (!_0x3026e0) {
return _0x2b6550("This command can only be used in a group chat.");
}
const _0x31018a = _0x1112a6.body.includes('approve') ? 'approve' : "reject";
try {
const _0x4e8760 = await _0x4c4a0a.groupRequestParticipantsList(_0xc86dd7);
if (_0x4e8760.length === 0) {
return _0x2b6550("There are no pending requests to manage.");
}
let _0x22a341 = "Pending Requests to Join the Group:\n";
let _0x38af9a = [];
let _0x76aee7 = [];
_0x4e8760.forEach(_0x482cd2 => {
const _0x2b59a7 = _0x482cd2.jid;
_0x22a341 += "😻 @" + _0x2b59a7.split('@')[0] + "\n";
_0x38af9a.push(_0x2b59a7);
_0x76aee7.push(_0x2b59a7);
});
const _0xecf38b = {
text: _0x22a341,
"mentions": _0x38af9a
};
await _0x4c4a0a.sendMessage(_0xc86dd7, _0xecf38b);
const _0x336c3a = await _0x4c4a0a.groupRequestParticipantsUpdate(_0xc86dd7, _0x76aee7, _0x31018a);
console.log(_0x336c3a);
_0x2b6550("Successfully " + _0x31018a + "ed all join requests.");
} catch (_0x250e3f) {
console.error("Error updating participant requests: " + _0x250e3f.message);
_0x2b6550("⚠️ An error occurred while processing the request. Please try again later.");
}
});
const _0x3bcce0 = {
"pattern": "disappear",
"react": "🌪️",
alias: ['dm'],
"desc": "Turn on/off disappearing messages.",
category: "main",
filename: __filename
};
cmd(_0x3bcce0, async (_0x1264ab, _0x1c8255, _0x2be3d6, {
from: _0x4fdc3a,
isGroup: _0x5d0163,
isAdmins: _0x4b73d7,
args: _0x2c9e9b
}) => {
if (!_0x5d0163) {
const _0x3a84ad = {
"text": "This command can only be used in groups."
};
await _0x1264ab.sendMessage(_0x4fdc3a, _0x3a84ad);
return;
}
if (!_0x4b73d7) {
const _0xb275e7 = {
"text": "Only admins can turn on/off disappearing messages."
};
await _0x1264ab.sendMessage(_0x4fdc3a, _0xb275e7);
return;
}
const _0x51ea06 = _0x2c9e9b[0];
if (_0x51ea06 === 'on') {
const _0x193f23 = _0x2c9e9b[1];
let _0x1df4d9;
switch (_0x193f23) {
case "24h":
_0x1df4d9 = 86400;
break;
case '7d':
_0x1df4d9 = 604800;
break;
case "90d":
_0x1df4d9 = 7776000;
break;
default:
const _0x890609 = {
"text": "Invalid duration! Use `24h`, `7d`, or `90d`."
};
await _0x1264ab.sendMessage(_0x4fdc3a, _0x890609);
return;
}
const _0x4ad088 = {
disappearingMessagesInChat: _0x1df4d9
};
await _0x1264ab.sendMessage(_0x4fdc3a, _0x4ad088);
const _0x2b37a1 = {
"text": "Disappearing messages are now ON for " + _0x193f23 + '.'
};
await _0x1264ab.sendMessage(_0x4fdc3a, _0x2b37a1);
} else {
if (_0x51ea06 === 'off') {
const _0x3643ac = {
"disappearingMessagesInChat": false
};
await _0x1264ab.sendMessage(_0x4fdc3a, _0x3643ac);
const _0x47fcaf = {
"text": "Disappearing messages are now OFF."
};
await _0x1264ab.sendMessage(_0x4fdc3a, _0x47fcaf);
} else {
const _0x176df5 = {
text: "Please use `!disappear on <duration>` or `!disappear off`."
};
await _0x1264ab.sendMessage(_0x4fdc3a, _0x176df5);
}
}
});
const _0x592aaf = {
pattern: "senddm",
react: "🌪️",
"alias": ["senddisappear"],
"desc": "Send a disappearing message.",
"category": "main",
"filename": __filename
};
cmd(_0x592aaf, async (_0x5551fe, _0x1300f9, _0x1fbb8a, {
from: _0x188bab,
isGroup: _0x4c94c4,
isAdmins: _0x2679c0,
args: _0x51178a
}) => {
if (!_0x4c94c4) {
const _0x423961 = {
"text": "This command can only be used in groups."
};
await _0x5551fe.sendMessage(_0x188bab, _0x423961);
return;
}
if (!_0x51178a.length) {
const _0x5a20ad = {
"text": "Please provide a message to send."
};
await _0x5551fe.sendMessage(_0x188bab, _0x5a20ad);
return;
}
const _0x3a3ac9 = _0x51178a.join(" ");
const _0x18e63b = {
'text': _0x3a3ac9
};
const _0x3fd007 = {
"ephemeralExpiration": 604800
};
await _0x5551fe.sendMessage(_0x188bab, _0x18e63b, _0x3fd007);
});
const _0x4f6b5b = {
"pattern": "mute",
"react": '🔇',
"alias": ["close", "f_mute"],
"desc": "Change to group settings to only admins can send messages & Mr Frank.",
category: "group",
use: ".mute",
filename: __filename
};
cmd(_0x4f6b5b, async (_0x4b40bf, _0x46e420, _0x21f531, {
from: _0x16d660,
l: _0x2c920b,
quoted: _0x98d19d,
body: _0x2d0cee,
isCmd: _0x43605e,
command: _0x23d9d0,
args: _0x4e09a2,
q: _0x435a11,
isGroup: _0xd1e600,
sender: _0x397d4b,
senderNumber: _0x163246,
botNumber2: _0x3ee3fe,
botNumber: _0x364a68,
pushname: _0x43018a,
isMe: _0x4ecf33,
isOwner: _0x3052d4,
groupMetadata: _0x595d9b,
groupName: _0x4f1c2f,
participants: _0x2d1550,
groupAdmins: _0x2b167e,
isBotAdmins: _0x568576,
isCreator: _0x1fe81d,
isDev: _0x59b3c0,
isAdmins: _0x5e0e98,
reply: _0x697f9a
}) => {
try {
const _0x19fc8e = (await fetchJson("https://raw.githubusercontent.com/SILENTLOVER40/SILENT-SOBX-MD-DATA/refs/heads/main/DATABASE/mreply.json")).replyMsg;
if (!_0xd1e600) {
return _0x697f9a(_0x19fc8e.only_gp);
}
if (!_0x5e0e98) {
const _0x4bf57a = {
quoted: _0x46e420
};
if (!_0x59b3c0) {
_0x697f9a(_0x19fc8e.you_adm);
return _0x4bf57a;
}
}
if (!_0x568576) {
return _0x697f9a(_0x19fc8e.give_adm);
}
await _0x4b40bf.groupSettingUpdate(_0x16d660, "announcement");
const _0x474444 = {
text: "*Yooh Guys Iam Tired 😓, Its Time to rest, Group Chat closed by Admin " + _0x43018a + "* 🔇"
};
const _0x1b6661 = {
"quoted": _0x46e420
};
await _0x4b40bf.sendMessage(_0x16d660, _0x474444, _0x1b6661);
} catch (_0x1ddb14) {
const _0x28d2e4 = {
"text": '❌',
"key": _0x46e420.key
};
const _0x2dae93 = {
"react": _0x28d2e4
};
await _0x4b40bf.sendMessage(_0x16d660, _0x2dae93);
console.log(_0x1ddb14);
_0x697f9a("❌ *Error Accurated !!*\n\n" + _0x1ddb14);
}
});
const _0x87e572 = {
"pattern": "unmute",
"react": '🔇',
"alias": ["open", 'f_unmute'],
"desc": "I have rested Enough, Changed group settings to all members can send messages.",
category: 'group',
"use": ".unmute",
"filename": __filename
};
cmd(_0x87e572, async (_0x1d32ad, _0x5b4c22, _0x4681d1, {
from: _0x485de2,
l: _0x19d1e2,
quoted: _0x9471da,
body: _0x4a9b98,
isCmd: _0x28bc63,
command: _0x1f206b,
args: _0x220e84,
q: _0x356510,
isGroup: _0x14a7d0,
sender: _0x4531e7,
senderNumber: _0x44ee23,
botNumber2: _0x88df11,
botNumber: _0x3e85e2,
pushname: _0x2d059b,
isMe: _0x3eff46,
isOwner: _0xf07b83,
groupMetadata: _0x3ac276,
groupName: _0x217df6,
participants: _0x13a134,
groupAdmins: _0x5d0412,
isBotAdmins: _0x292886,
isCreator: _0x26d4c4,
isDev: _0x3a8707,
isAdmins: _0x3c91ba,
reply: _0x4f95d7
}) => {
try {
const _0xbc7a1e = (await fetchJson('https://raw.githubusercontent.com/SILENTLOVER40/SILENT-SOBX-MD-DATA/refs/heads/main/DATABASE/mreply.json')).replyMsg;
if (!_0x14a7d0) {
return _0x4f95d7(_0xbc7a1e.only_gp);
}
if (!_0x3c91ba) {
const _0x377117 = {
quoted: _0x5b4c22
};
if (!_0x3a8707) {
_0x4f95d7(_0xbc7a1e.you_adm);
return _0x377117;
}
}
if (!_0x292886) {
return _0x4f95d7(_0xbc7a1e.give_adm);
}
await _0x1d32ad.groupSettingUpdate(_0x485de2, 'not_announcement');
const _0x59c538 = {
text: "*At Last, Group Chat Opened by Admin " + _0x2d059b + "* 🔇"
};
const _0x2aec2a = {
"quoted": _0x5b4c22
};
await _0x1d32ad.sendMessage(_0x485de2, _0x59c538, _0x2aec2a);
} catch (_0x13a688) {
const _0x498e89 = {
"text": '❌',
"key": _0x5b4c22.key
};
const _0x47bf17 = {
"react": _0x498e89
};
await _0x1d32ad.sendMessage(_0x485de2, _0x47bf17);
console.log(_0x13a688);
_0x4f95d7("❌ *Error Accurated !!*\n\n" + _0x13a688);
}
});
const _0x2bff43 = {
"pattern": "lockgs",
react: '🔇',
"alias": ["lockgsettings"],
desc: "Change to group settings to only admins can edit group info",
"category": "group",
"use": ".lockgs",
"filename": __filename
};
cmd(_0x2bff43, async (_0x17dcab, _0x51ddfc, _0x92991c, {
from: _0x245665,
l: _0x258a07,
quoted: _0x389910,
body: _0x8ea8d6,
isCmd: _0x2de789,
command: _0x38b535,
args: _0x156d65,
q: _0x3bb5b3,
isGroup: _0x2413cb,
sender: _0x2850e4,
senderNumber: _0x2acc63,
botNumber2: _0x53942b,
botNumber: _0x86ccd5,
pushname: _0x3e5138,
isMe: _0x4d25d4,
isOwner: _0x253c0b,
groupMetadata: _0x57aee8,
groupName: _0x66cfd1,
participants: _0x5c5045,
groupAdmins: _0x1480f2,
isBotAdmins: _0x4d1191,
isCreator: _0x466fd4,
isDev: _0x3212b6,
isAdmins: _0x53eaa0,
reply: _0x5d57b5
}) => {
try {
const _0x4c4c7e = (await fetchJson("https://raw.githubusercontent.com/SILENTLOVER40/SILENT-SOBX-MD-DATA/refs/heads/main/DATABASE/mreply.json")).replyMsg;
if (!_0x2413cb) {
return _0x5d57b5(_0x4c4c7e.only_gp);
}
if (!_0x53eaa0) {
const _0x18d36c = {
'quoted': _0x51ddfc
};
if (!_0x3212b6) {
_0x5d57b5(_0x4c4c7e.you_adm);
return _0x18d36c;
}
}
if (!_0x4d1191) {
return _0x5d57b5(_0x4c4c7e.give_adm);
}
await _0x17dcab.groupSettingUpdate(_0x245665, "locked");
const _0x4f9b24 = {
'text': "*Group settings Locked* 🔒"
};
const _0x1141e4 = {
"quoted": _0x51ddfc
};
await _0x17dcab.sendMessage(_0x245665, _0x4f9b24, _0x1141e4);
} catch (_0x28a762) {
const _0x30fcfa = {
"text": '❌',
"key": _0x51ddfc.key
};
const _0x307022 = {
"react": _0x30fcfa
};
await _0x17dcab.sendMessage(_0x245665, _0x307022);
console.log(_0x28a762);
_0x5d57b5("❌ *Error Accurated !!*\n\n" + _0x28a762);
}
});
const _0x285abb = {
pattern: 'unlockgs',
"react": '🔓',
alias: ["unlockgsettings"],
desc: "Change to group settings to all members can edit group info",
category: "group",
use: '.unlockgs',
"filename": __filename
};
cmd(_0x285abb, async (_0x2ae389, _0x60d2b1, _0x22a560, {
from: _0x2d4e9b,
l: _0xff3c0a,
quoted: _0x59f4ba,
body: _0x160f10,
isCmd: _0x57c99a,
command: _0x1a3516,
args: _0x32dfd2,
q: _0x41735f,
isGroup: _0x433848,
sender: _0x508c17,
senderNumber: _0x4c9383,
botNumber2: _0x4707a5,
botNumber: _0x569d59,
pushname: _0x529fc3,
isMe: _0x3ef3e6,
isOwner: _0x22e265,
groupMetadata: _0x11fe79,
groupName: _0xa86994,
participants: _0x3d5f52,
groupAdmins: _0x2fa38e,
isBotAdmins: _0x31dbf2,
isCreator: _0x5ce901,
isDev: _0x5f0b90,
isAdmins: _0x1fb04c,
reply: _0x515e28
}) => {
try {
const _0x24157e = (await fetchJson('https://raw.githubusercontent.com/SILENTLOVER40/SILENT-SOBX-MD-DATA/refs/heads/main/DATABASE/mreply.json')).replyMsg;
if (!_0x433848) {
return _0x515e28(_0x24157e.only_gp);
}
if (!_0x1fb04c) {
const _0x32aee9 = {
quoted: _0x60d2b1
};
if (!_0x5f0b90) {
_0x515e28(_0x24157e.you_adm);
return _0x32aee9;
}
}
if (!_0x31dbf2) {
return _0x515e28(_0x24157e.give_adm);
}
await _0x2ae389.groupSettingUpdate(_0x2d4e9b, 'unlocked');
const _0x29d71f = {
text: "*Group settings Unlocked* 🔓"
};
const _0x21b52c = {
"quoted": _0x60d2b1
};
await _0x2ae389.sendMessage(_0x2d4e9b, _0x29d71f, _0x21b52c);
} catch (_0x5f5b2d) {
const _0x9c6a36 = {
"text": '❌',
"key": _0x60d2b1.key
};
const _0x2e4f79 = {
react: _0x9c6a36
};
await _0x2ae389.sendMessage(_0x2d4e9b, _0x2e4f79);
console.log(_0x5f5b2d);
_0x515e28("❌ *Error Accurated !!*\n\n" + _0x5f5b2d);
}
});
const _0x2ad4fd = {
"pattern": "leave",
"react": '🔓',
alias: ["left", 'kickme', "f_leave", "f_left", "f-left"],
"desc": "To leave from the group",
category: "group",
"use": ".leave",
"filename": __filename
};
cmd(_0x2ad4fd, async (_0x1f4ada, _0x3284fb, _0x5665b9, {
from: _0x2cb4c6,
l: _0x37734c,
quoted: _0x6cf87c,
body: _0x22a173,
isCmd: _0x1204f0,
command: _0x4149ba,
args: _0x1408f9,
q: _0x54b0dc,
isGroup: _0xb42f79,
sender: _0x2a81b1,
senderNumber: _0x269892,
botNumber2: _0x281709,
botNumber: _0x52d284,
pushname: _0x51965a,
isMe: _0x57e464,
isOwner: _0x4437cc,
groupMetadata: _0x3bbad6,
groupName: _0x894872,
participants: _0x1ccfdc,
groupAdmins: _0x487522,
isBotAdmins: _0x4a2eec,
isCreator: _0x46a35b,
isDev: _0xb7c31e,
isAdmins: _0x4dbc40,
reply: _0xbecec9
}) => {
try {
const _0x4810ca = (await fetchJson("https://raw.githubusercontent.com/SILENTLOVER40/SILENT-SOBX-MD-DATA/refs/heads/main/DATABASE/mreply.json")).replyMsg;
if (!_0xb42f79) {
return _0xbecec9(_0x4810ca.only_gp);
}
if (!_0x4dbc40) {
if (!_0xb7c31e) {
return _0xbecec9(_0x4810ca.you_adm);
}
}
const _0x2b7926 = {
text: "*Good Bye All* 👋🏻"
};
const _0x3fb4ba = {
"quoted": _0x3284fb
};
await _0x1f4ada.sendMessage(_0x2cb4c6, _0x2b7926, _0x3fb4ba);
await _0x1f4ada.groupLeave(_0x2cb4c6);
} catch (_0x490203) {
const _0x2fc642 = {
"text": '❌',
"key": _0x3284fb.key
};
const _0x16ad8f = {
"react": _0x2fc642
};
await _0x1f4ada.sendMessage(_0x2cb4c6, _0x16ad8f);
console.log(_0x490203);
_0xbecec9("❌ *Error Accurated !!*\n\n" + _0x490203);
}
});
const _0x293215 = {
"pattern": 'updategname',
"react": '🔓',
"alias": ["upgname", "gname"],
"desc": "To Change the group name",
category: "group",
"use": '.updategname',
"filename": __filename
};
cmd(_0x293215, async (_0x37d3b2, _0x3d6787, _0x4898d9, {
from: _0x1a39d2,
l: _0x36f1d7,
quoted: _0x41ca5b,
body: _0x66f306,
isCmd: _0x4e1117,
command: _0x13ca93,
args: _0x253685,
q: _0x1002e0,
isGroup: _0x3a6e46,
sender: _0x35b6df,
senderNumber: _0x329715,
botNumber2: _0x121d91,
botNumber: _0x42f260,
pushname: _0xe1b5e1,
isMe: _0x128e34,
isOwner: _0x13a679,
groupMetadata: _0x43c179,
groupName: _0x42e09e,
participants: _0x3d81a1,
groupAdmins: _0xeefb48,
isBotAdmins: _0x23506c,
isCreator: _0x28cc79,
isDev: _0x3bed69,
isAdmins: _0x32bdda,
reply: _0x5bcaae
}) => {
try {
const _0x3a21c3 = (await fetchJson("https://raw.githubusercontent.com/SILENTLOVER40/SILENT-SOBX-MD-DATA/refs/heads/main/DATABASE/mreply.json")).replyMsg;
if (!_0x3a6e46) {
return _0x5bcaae(_0x3a21c3.only_gp);
}
if (!_0x32bdda) {
const _0x41ada9 = {
'quoted': _0x3d6787
};
if (!_0x3bed69) {
_0x5bcaae(_0x3a21c3.you_adm);
return _0x41ada9;
}
}
if (!_0x23506c) {
return _0x5bcaae(_0x3a21c3.give_adm);
}
if (!_0x1002e0) {
return _0x5bcaae("*Please write the new Group Subject* 🖊️");
}
await _0x37d3b2.groupUpdateSubject(_0x1a39d2, _0x1002e0);
const _0x3ef4e7 = {
'text': "✔️ *Group name Updated*"
};
const _0x456852 = {
"quoted": _0x3d6787
};
await _0x37d3b2.sendMessage(_0x1a39d2, _0x3ef4e7, _0x456852);
} catch (_0x5b57e0) {
const _0x303093 = {
text: '❌',
"key": _0x3d6787.key
};
const _0x2e3c53 = {
"react": _0x303093
};
await _0x37d3b2.sendMessage(_0x1a39d2, _0x2e3c53);
console.log(_0x5b57e0);
_0x5bcaae("❌ *Error Accurated !!*\n\n" + _0x5b57e0);
}
});
const _0x19cdd8 = {
pattern: "updategdesc",
"react": '🔓',
alias: ["upgdesc", "gdesc"],
desc: "To Change the group description",
"category": "group",
"use": '.updategdesc',
"filename": __filename
};
cmd(_0x19cdd8, async (_0x13b839, _0x440c71, _0x29ed74, {
from: _0x461966,
l: _0x43e672,
quoted: _0x55ca79,
body: _0x3a4dd1,
isCmd: _0x21655a,
command: _0x29dc1f,
args: _0x2666a3,
q: _0x1fdf7b,
isGroup: _0x14d322,
sender: _0x3f1e42,
senderNumber: _0x252c0c,
botNumber2: _0x1c5adc,
botNumber: _0x26ecb6,
pushname: _0x423e72,
isMe: _0x4eaf13,
isOwner: _0x263d2e,
groupMetadata: _0x52e59b,
groupName: _0x3d1127,
participants: _0x239b78,
groupAdmins: _0x52b9d8,
isBotAdmins: _0x3f6c04,
isCreator: _0x1f123c,
isDev: _0x16c706,
isAdmins: _0x1ac543,
reply: _0x44929b
}) => {
try {
const _0x4a8ed0 = (await fetchJson('https://raw.githubusercontent.com/SILENTLOVER40/SILENT-SOBX-MD-DATA/refs/heads/main/DATABASE/mreply.json')).replyMsg;
if (!_0x14d322) {
return _0x44929b(_0x4a8ed0.only_gp);
}
if (!_0x1ac543) {
const _0x58a1dd = {
quoted: _0x440c71
};
if (!_0x16c706) {
_0x44929b(_0x4a8ed0.you_adm);
return _0x58a1dd;
}
}
if (!_0x3f6c04) {
return _0x44929b(_0x4a8ed0.give_adm);
}
if (!_0x1fdf7b) {
return _0x44929b("*Please write the new Group Description* 🖊️");
}
await _0x13b839.groupUpdateDescription(_0x461966, _0x1fdf7b);
const _0x40b8a4 = {
'text': "✔️ *Group Description Updated*"
};
const _0x44d43c = {
"quoted": _0x440c71
};
await _0x13b839.sendMessage(_0x461966, _0x40b8a4, _0x44d43c);
} catch (_0x227466) {
const _0x4e9f48 = {
"text": '❌',
"key": _0x440c71.key
};
const _0x16626d = {
react: _0x4e9f48
};
await _0x13b839.sendMessage(_0x461966, _0x16626d);
console.log(_0x227466);
_0x44929b("❌ *Error Accurated !!*\n\n" + _0x227466);
}
});
const _0x53f490 = {
"pattern": "join",
"react": '📬',
"alias": ["joinme", "f_join"],
"desc": "To Join a Group from Invite link",
"category": "group",
"use": ".join < Group Link >",
"filename": __filename
};
cmd(_0x53f490, async (_0x5c6e0d, _0x274b96, _0xe24f8, {
from: _0x4293ac,
l: _0x1c760f,
quoted: _0x2f823f,
body: _0x3ba315,
isCmd: _0x2eac63,
command: _0x13619a,
args: _0x28d7a6,
q: _0x508e68,
isGroup: _0x168f6a,
sender: _0x1e37d6,
senderNumber: _0x46bea2,
botNumber2: _0x392b42,
botNumber: _0x3e8916,
pushname: _0x23c22f,
isMe: _0x83607f,
isOwner: _0xa3e4e3,
groupMetadata: _0x22f7bf,
groupName: _0x4f268f,
participants: _0x56a851,
groupAdmins: _0x548911,
isBotAdmins: _0x21d912,
isCreator: _0x5bf5ca,
isDev: _0x108bee,
isAdmins: _0x317502,
reply: _0x3377b1
}) => {
try {
const _0x3bf70c = (await fetchJson("https://raw.githubusercontent.com/SILENTLOVER40/SILENT-SOBX-MD-DATA/refs/heads/main/DATABASE/mreply.json")).replyMsg;
if (!_0x5bf5ca && !_0x108bee && !_0xa3e4e3 && !_0x83607f) {
return _0x3377b1(_0x3bf70c.own_cmd);
}
if (!_0x508e68) {
return _0x3377b1("*Please write the Group Link*️ 🖇️");
}
let _0x2cbcb1 = _0x28d7a6[0].split('https://chat.whatsapp.com/')[1];
await _0x5c6e0d.groupAcceptInvite(_0x2cbcb1);
const _0xb649ec = {
'text': "✔️ *Successfully Joined*"
};
const _0x320207 = {
"quoted": _0x274b96
};
await _0x5c6e0d.sendMessage(_0x4293ac, _0xb649ec, _0x320207);
} catch (_0x344145) {
const _0x2d8910 = {
"text": '❌',
key: _0x274b96.key
};
const _0x1b03e2 = {
"react": _0x2d8910
};
await _0x5c6e0d.sendMessage(_0x4293ac, _0x1b03e2);
console.log(_0x344145);
_0x3377b1("❌ *Error Accurated !!*\n\n" + _0x344145);
}
});
const _0x4df201 = {
"pattern": "invite",
"react": '🖇️',
"alias": ["grouplink", 'glink'],
"desc": "To Get the Group Invite link",
"category": "group",
"use": '.invite',
"filename": __filename
};
cmd(_0x4df201, async (_0x57383d, _0x4f985a, _0x403b00, {
from: _0x14ace6,
l: _0x364d6d,
quoted: _0x45d470,
body: _0x1a6283,
isCmd: _0x1a51a8,
command: _0x383543,
args: _0x2e3f07,
q: _0x3ca2ae,
isGroup: _0xbf8854,
sender: _0x39f81a,
senderNumber: _0x1bc585,
botNumber2: _0x596376,
botNumber: _0x192325,
pushname: _0x31cdec,
isMe: _0x57d6de,
isOwner: _0x36fc8a,
groupMetadata: _0x48fae3,
groupName: _0x4c7a59,
participants: _0x542fb0,
groupAdmins: _0x4daafb,
isBotAdmins: _0x1c9e0f,
isCreator: _0x4f22a8,
isDev: _0x27e9cd,
isAdmins: _0xcc24b9,
reply: _0x30cf68
}) => {
try {
const _0x2d04f9 = (await fetchJson("https://raw.githubusercontent.com/SILENTLOVER40/SILENT-SOBX-MD-DATA/refs/heads/main/DATABASE/mreply.json")).replyMsg;
if (!_0xbf8854) {
return _0x30cf68(_0x2d04f9.only_gp);
}
if (!_0xcc24b9) {
const _0x2763a3 = {
quoted: _0x4f985a
};
if (!_0x27e9cd) {
_0x30cf68(_0x2d04f9.you_adm);
return _0x2763a3;
}
}
if (!_0x1c9e0f) {
return _0x30cf68(_0x2d04f9.give_adm);
}
const _0x37d2e7 = await _0x57383d.groupInviteCode(_0x14ace6);
const _0x2ecaa6 = {
text: "🖇️ *Group Link*\n\nhttps://chat.whatsapp.com/" + _0x37d2e7
};
const _0x409f05 = {
"quoted": _0x4f985a
};
await _0x57383d.sendMessage(_0x14ace6, _0x2ecaa6, _0x409f05);
} catch (_0x561c19) {
const _0x346879 = {
"text": '❌',
"key": _0x4f985a.key
};
const _0x7557d5 = {
"react": _0x346879
};
await _0x57383d.sendMessage(_0x14ace6, _0x7557d5);
console.log(_0x561c19);
_0x30cf68("❌ *Error Accurated !!*\n\n" + _0x561c19);
}
});
const _0x34bd2a = {
"pattern": "revoke",
"react": '🖇️',
"alias": ["revokegrouplink", "resetglink", 'revokelink', "f_revoke"],
"desc": "To Reset the group link",
category: "group",
"use": ".revoke",
"filename": __filename
};
cmd(_0x34bd2a, async (_0x41ae16, _0x3e573c, _0x38b41a, {
from: _0xee597d,
l: _0x378514,
quoted: _0x55191b,
body: _0x3fc193,
isCmd: _0x1dd591,
command: _0x221d8e,
args: _0x38fae6,
q: _0x36db72,
isGroup: _0xd97564,
sender: _0x5ae10e,
senderNumber: _0x33e2fd,
botNumber2: _0x5e13ab,
botNumber: _0x5223f6,
pushname: _0x256155,
isMe: _0x3fbbba,
isOwner: _0x3e8d35,
groupMetadata: _0x16506d,
groupName: _0x13822d,
participants: _0xd56593,
groupAdmins: _0x149535,
isBotAdmins: _0x57ebae,
isCreator: _0x377d4d,
isDev: _0x45e2dc,
isAdmins: _0x5ba3b6,
reply: _0xd38f68
}) => {
try {
const _0x2f4bdc = (await fetchJson("https://raw.githubusercontent.com/SILENTLOVER40/SILENT-SOBX-MD-DATA/refs/heads/main/DATABASE/mreply.json")).replyMsg;
if (!_0xd97564) {
return _0xd38f68(_0x2f4bdc.only_gp);
}
if (!_0x5ba3b6) {
const _0x193f80 = {
quoted: _0x3e573c
};
if (!_0x45e2dc) {
_0xd38f68(_0x2f4bdc.you_adm);
return _0x193f80;
}
}
if (!_0x57ebae) {
return _0xd38f68(_0x2f4bdc.give_adm);
}
await _0x41ae16.groupRevokeInvite(_0xee597d);
const _0x3bdddc = {
text: "*Group link Reseted* ⛔"
};
const _0xddbc59 = {
"quoted": _0x3e573c
};
await _0x41ae16.sendMessage(_0xee597d, _0x3bdddc, _0xddbc59);
} catch (_0x1920cf) {
const _0x2fd8b5 = {
"text": '❌',
key: _0x3e573c.key
};
const _0x323b31 = {
"react": _0x2fd8b5
};
await _0x41ae16.sendMessage(_0xee597d, _0x323b31);
console.log(_0x1920cf);
_0xd38f68("❌ *Error Accurated !!*\n\n" + _0x1920cf);
}
});
const _0x57538f = {
"pattern": "kick",
"react": '🥏',
"alias": ["remove"],
"desc": "To Remove a participant from Group",
category: "group",
"use": ".kick",
"filename": __filename
};
cmd(_0x57538f, async (_0x41e259, _0x1b6220, _0x5accc4, {
from: _0x1405da,
l: _0x3c5793,
quoted: _0xddbe82,
body: _0x38545a,
isCmd: _0x586340,
command: _0x515391,
mentionByTag: _0x5a7b0c,
args: _0x1ba8bf,
q: _0x289e78,
isGroup: _0x4f8fb5,
sender: _0x3cd0e8,
senderNumber: _0x153fdb,
botNumber2: _0xd8495a,
botNumber: _0x1debc0,
pushname: _0x3c454b,
isMe: _0x24f1df,
isOwner: _0x163b25,
groupMetadata: _0xb24815,
groupName: _0x1f20bd,
participants: _0x300731,
groupAdmins: _0x373ac7,
isBotAdmins: _0x16fb62,
isCreator: _0x5ed285,
isDev: _0x2a7c41,
isAdmins: _0x3b32e1,
reply: _0x4add12
}) => {
try {
const _0xf4014e = (await fetchJson("https://raw.githubusercontent.com/SILENTLOVER40/SILENT-SOBX-MD-DATA/refs/heads/main/DATABASE/mreply.json")).replyMsg;
if (!_0x4f8fb5) {
return _0x4add12(_0xf4014e.only_gp);
}
if (!_0x3b32e1) {
const _0x30adce = {
'quoted': _0x1b6220
};
if (!_0x2a7c41) {
_0x4add12(_0xf4014e.you_adm);
return _0x30adce;
}
}
if (!_0x16fb62) {
return _0x4add12(_0xf4014e.give_adm);
}
let _0x3e8f17 = _0x1b6220.mentionedJid ? _0x1b6220.mentionedJid[0] : _0x1b6220.msg.contextInfo.participant || false;
if (!_0x3e8f17) {
return _0x4add12("*Couldn't find any user in context* ❌");
}
await _0x41e259.groupParticipantsUpdate(_0x1405da, [_0x3e8f17], "remove");
const _0x44b452 = {
'text': "*Successfully removed* ✔️"
};
const _0x30c271 = {
"quoted": _0x1b6220
};
await _0x41e259.sendMessage(_0x1405da, _0x44b452, _0x30c271);
} catch (_0x2c8e2b) {
const _0x54186c = {
"text": '❌',
key: _0x1b6220.key
};
const _0x3d2cb9 = {
react: _0x54186c
};
await _0x41e259.sendMessage(_0x1405da, _0x3d2cb9);
console.log(_0x2c8e2b);
_0x4add12("❌ *Error Accurated !!*\n\n" + _0x2c8e2b);
}
});
const _0xd699f4 = {
pattern: "promote",
"react": '🥏',
"alias": ['addadmin'],
"desc": "To Add a participatant as a Admin",
"category": 'group',
use: '.promote',
"filename": __filename
};
cmd(_0xd699f4, async (_0xd441ad, _0x386107, _0xa0d74e, {
from: _0x1762c0,
l: _0x6b3fab,
quoted: _0x1a22c1,
body: _0x260161,
isCmd: _0x1f39c3,
command: _0x36db16,
mentionByTag: _0x3f79bc,
args: _0x4d646e,
q: _0x1fbf8d,
isGroup: _0x299bf3,
sender: _0x11f7a0,
senderNumber: _0x3246da,
botNumber2: _0x36be92,
botNumber: _0x135200,
pushname: _0x44fecd,
isMe: _0x3ede2b,
isOwner: _0x1185ac,
groupMetadata: _0x3ca1f0,
groupName: _0x20a13e,
participants: _0x280437,
groupAdmins: _0x2cce76,
isBotAdmins: _0x21032b,
isCreator: _0x5b91ad,
isDev: _0x28e3e2,
isAdmins: _0xd5dab5,
reply: _0x48bf1f
}) => {
try {
const _0x2c5d13 = (await fetchJson("https://raw.githubusercontent.com/SILENTLOVER40/SILENT-SOBX-MD-DATA/refs/heads/main/DATABASE/mreply.json")).replyMsg;
if (!_0x299bf3) {
return _0x48bf1f(_0x2c5d13.only_gp);
}
if (!_0xd5dab5) {
const _0x18103d = {
quoted: _0x386107
};
if (!_0x28e3e2) {
_0x48bf1f(_0x2c5d13.you_adm);
return _0x18103d;
}
}
if (!_0x21032b) {
return _0x48bf1f(_0x2c5d13.give_adm);
}
let _0x5c5b44 = _0x386107.mentionedJid ? _0x386107.mentionedJid[0] : _0x386107.msg.contextInfo.participant || false;
if (!_0x5c5b44) {
return _0x48bf1f("*Couldn't find any user in context* ❌");
}
const _0x110b3d = await getGroupAdmins(_0x280437);
if (_0x110b3d.includes(_0x5c5b44)) {
return _0x48bf1f("❗ *User Already an Admin* ✔️");
}
await _0xd441ad.groupParticipantsUpdate(_0x1762c0, [_0x5c5b44], 'promote');
const _0x5c487e = {
'text': "*User promoted as an Admin* ✔️"
};
const _0x5a2555 = {
quoted: _0x386107
};
await _0xd441ad.sendMessage(_0x1762c0, _0x5c487e, _0x5a2555);
} catch (_0x467402) {
const _0x914163 = {
"text": '❌',
"key": _0x386107.key
};
const _0x572963 = {
"react": _0x914163
};
await _0xd441ad.sendMessage(_0x1762c0, _0x572963);
console.log(_0x467402);
_0x48bf1f("❌ *Error Accurated !!*\n\n" + _0x467402);
}
});
const _0x10f253 = {
"pattern": 'demote',
react: '🥏',
alias: ["removeadmin"],
"desc": "To Demote Admin to Member",
"category": "group",
"use": ".demote",
"filename": __filename
};
cmd(_0x10f253, async (_0x9b2f7d, _0x39351b, _0xcc8395, {
from: _0xe68cad,
l: _0x7244ea,
quoted: _0x52f979,
body: _0x4f94b4,
isCmd: _0x1a108c,
command: _0x41f029,
mentionByTag: _0x2b232a,
args: _0x256b13,
q: _0x43014d,
isGroup: _0x5b6a75,
sender: _0x1def0f,
senderNumber: _0x201f82,
botNumber2: _0x120e3c,
botNumber: _0x47554d,
pushname: _0x2b6cae,
isMe: _0x24a7ee,
isOwner: _0x10049e,
groupMetadata: _0xec1693,
groupName: _0x57285d,
participants: _0x275dec,
groupAdmins: _0x174790,
isBotAdmins: _0x4f333b,
isCreator: _0x3643ff,
isDev: _0x3eb57c,
isAdmins: _0x455273,
reply: _0x3566a2
}) => {
try {
const _0x5577a8 = (await fetchJson("https://raw.githubusercontent.com/SILENTLOVER40/SILENT-SOBX-MD-DATA/refs/heads/main/DATABASE/mreply.json")).replyMsg;
if (!_0x5b6a75) {
return _0x3566a2(_0x5577a8.only_gp);
}
if (!_0x455273) {
const _0x34a16d = {
'quoted': _0x39351b
};
if (!_0x3eb57c) {
_0x3566a2(_0x5577a8.you_adm);
return _0x34a16d;
}
}
if (!_0x4f333b) {
return _0x3566a2(_0x5577a8.give_adm);
}
let _0x29e551 = _0x39351b.mentionedJid ? _0x39351b.mentionedJid[0] : _0x39351b.msg.contextInfo.participant || false;
if (!_0x29e551) {
return _0x3566a2("*Couldn't find any user in context* ❌");
}
const _0x4f0d9c = await getGroupAdmins(_0x275dec);
if (!_0x4f0d9c.includes(_0x29e551)) {
return _0x3566a2("❗ *User Already not an Admin*");
}
await _0x9b2f7d.groupParticipantsUpdate(_0xe68cad, [_0x29e551], "demote");
const _0x5d8348 = {
text: "*User No longer an Admin* ✔️"
};
const _0x293c8d = {
"quoted": _0x39351b
};
await _0x9b2f7d.sendMessage(_0xe68cad, _0x5d8348, _0x293c8d);
} catch (_0x94836e) {
const _0x1f05fd = {
"text": '❌',
"key": _0x39351b.key
};
const _0x1346fb = {
"react": _0x1f05fd
};
await _0x9b2f7d.sendMessage(_0xe68cad, _0x1346fb);
console.log(_0x94836e);
_0x3566a2("❌ *Error Accurated !!*\n\n" + _0x94836e);
}
});
const _0x53a4af = {
"pattern": "tagall",
"react": '🔊',
"alias": ["f_tagall"],
"desc": "To Tag all Members",
"category": "group",
"use": ".tagall",
"filename": __filename
};
cmd(_0x53a4af, async (_0x18845e, _0x4632c9, _0x55ef21, {
from: _0x2921e4,
l: _0xdf8a7f,
quoted: _0x10158f,
body: _0x11e711,
isCmd: _0x11a69a,
command: _0x4fc745,
mentionByTag: _0x4bc0e1,
args: _0x507a0,
q: _0x82f972,
isGroup: _0x27faa2,
sender: _0x12fa8,
senderNumber: _0x1797a0,
botNumber2: _0x53e37a,
botNumber: _0x370958,
pushname: _0x366640,
isMe: _0x34a29c,
isOwner: _0x12be5a,
groupMetadata: _0x39d18f,
groupName: _0x3b5423,
participants: _0x56c772,
groupAdmins: _0x5b3f7e,
isBotAdmins: _0x3b20c3,
isCreator: _0x2833a2,
isDev: _0x3d6d09,
isAdmins: _0x18b86b,
reply: _0xbd5407
}) => {
try {
const _0x5aa172 = (await fetchJson("https://raw.githubusercontent.com/SILENTLOVER40/SILENT-SOBX-MD-DATA/refs/heads/main/DATABASE/mreply.json")).replyMsg;
if (!_0x27faa2) {
return _0xbd5407(_0x5aa172.only_gp);
}
if (!_0x18b86b) {
const _0x1c6dca = {
quoted: _0x4632c9
};
if (!_0x3d6d09) {
_0xbd5407(_0x5aa172.you_adm);
return _0x1c6dca;
}
}
if (!_0x3b20c3) {
return _0xbd5407(_0x5aa172.give_adm);
}
let _0x3993c3 = "💱 *HI ALL ! GIVE YOUR ATTENTION PLEASE* \n \n";
for (let _0x445e7a of _0x56c772) {
_0x3993c3 += "> ᴅᴇᴀʀ ☣️ @" + _0x445e7a.id.split('@')[0] + "\n";
}
const _0xb97cc3 = {
quoted: _0x4632c9
};
_0x18845e.sendMessage(_0x2921e4, {
'text': _0x3993c3,
'mentions': _0x56c772.map(_0x47d9c6 => _0x47d9c6.id)
}, _0xb97cc3);
} catch (_0x1f1f2c) {
const _0xbc6e6b = {
"text": '❌',
"key": _0x4632c9.key
};
const _0x305f38 = {
react: _0xbc6e6b
};
await _0x18845e.sendMessage(_0x2921e4, _0x305f38);
console.log(_0x1f1f2c);
_0xbd5407("❌ *Error Accurated !!*\n\n" + _0x1f1f2c);
}
});
const _0x3220aa = {
pattern: "hidetag",
"react": '🔊',
"alias": ["tag", 'f_tag'],
"desc": "To Tag all Members for Message",
category: "group",
"use": ".tag Hi",
"filename": __filename
};
cmd(_0x3220aa, async (_0x42cc1d, _0x4f5e7e, _0x49808f, {
from: _0x53e02e,
l: _0xf27966,
quoted: _0x499ac3,
body: _0x35aa48,
isCmd: _0x580a45,
command: _0x2dcbc5,
mentionByTag: _0x586803,
args: _0x1b98ce,
q: _0x153bef,
isGroup: _0x2b35af,
sender: _0x47dc62,
senderNumber: _0x22cfc7,
botNumber2: _0x3555de,
botNumber: _0x386f73,
pushname: _0x450314,
isMe: _0x397067,
isOwner: _0x46be22,
groupMetadata: _0x2126df,
groupName: _0x4ad3fc,
participants: _0x3b7b63,
groupAdmins: _0x54e5a2,
isBotAdmins: _0x2e297e,
isCreator: _0x46bc7f,
isDev: _0x2d511d,
isAdmins: _0x67d41d,
reply: _0x247340
}) => {
try {
const _0x1e63ea = (await fetchJson("https://raw.githubusercontent.com/SILENTLOVER40/SILENT-SOBX-MD-DATA/refs/heads/main/DATABASE/mreply.json")).replyMsg;
if (!_0x2b35af) {
return _0x247340(_0x1e63ea.only_gp);
}
if (!_0x67d41d) {
const _0x60891f = {
quoted: _0x4f5e7e
};
if (!_0x2d511d) {
_0x247340(_0x1e63ea.you_adm);
return _0x60891f;
}
}
if (!_0x2e297e) {
return _0x247340(_0x1e63ea.give_adm);
}
if (!_0x153bef) {
return _0x247340("*Please add a Message* ℹ️");
}
let _0x369546 = '' + _0x153bef;
const _0x10b59c = {
"quoted": _0x4f5e7e
};
_0x42cc1d.sendMessage(_0x53e02e, {
'text': _0x369546,
'mentions': _0x3b7b63.map(_0x50fa51 => _0x50fa51.id)
}, _0x10b59c);
} catch (_0x461191) {
const _0x5b4083 = {
text: '❌',
"key": _0x4f5e7e.key
};
const _0x3604e5 = {
"react": _0x5b4083
};
await _0x42cc1d.sendMessage(_0x53e02e, _0x3604e5);
console.log(_0x461191);
_0x247340("❌ *Error Accurated !!*\n\n" + _0x461191);
}
});
const _0x446ca7 = {
"pattern": "taggp",
react: '🔊',
alias: ["tggp", 'f_taggp'],
desc: "To Tag all Members for Message",
"category": "group",
use: ".tag Hi",
"filename": __filename
};
cmd(_0x446ca7, async (_0xb2d1ca, _0x26e406, _0x1fe36e, {
from: _0x48c3b8,
l: _0x33ce03,
quoted: _0x13d52e,
body: _0x298a5b,
isCmd: _0x2b91c0,
command: _0xe35736,
mentionByTag: _0x7ad100,
args: _0x18c434,
q: _0x1be236,
isGroup: _0x31bc0b,
sender: _0x28ca24,
senderNumber: _0x1a9dd6,
botNumber2: _0x583e95,
botNumber: _0x2aa89e,
pushname: _0x237aa6,
isMe: _0x26c405,
isOwner: _0x114432,
groupMetadata: _0xf9c904,
groupName: _0x17e4d5,
participants: _0x5ae5ac,
groupAdmins: _0x718ee3,
isBotAdmins: _0x1ddf62,
isCreator: _0x8ed2b,
isDev: _0x9e4c10,
isAdmins: _0x32ac67,
reply: _0x4b3c82
}) => {
try {
if (!_0x1fe36e.quoted) {
return _0x4b3c82("*Please mention a message* ℹ️");
}
if (!_0x1be236) {
return _0x4b3c82("*Please add a Group Jid* ℹ️");
}
let _0x2298f1 = '' + _0x1fe36e.quoted.msg;
const _0x1a15a4 = {
quoted: _0x26e406
};
_0xb2d1ca.sendMessage(_0x1be236, {
'text': _0x2298f1,
'mentions': _0x5ae5ac.map(_0x8aac9 => _0x8aac9.id)
}, _0x1a15a4);
} catch (_0x438f31) {
const _0x3e865b = {
"text": '❌',
"key": _0x26e406.key
};
const _0x1204ec = {
"react": _0x3e865b
};
await _0xb2d1ca.sendMessage(_0x48c3b8, _0x1204ec);
console.log(_0x438f31);
_0x4b3c82("❌ *Error Accurated !!*\n\n" + _0x438f31);
}
});
const _0x4c04aa = {
pattern: "ginfo",
react: '🥏',
"alias": ["groupinfo"],
"desc": "Get group informations.",
category: 'group',
use: ".ginfo",
"filename": __filename
};
cmd(_0x4c04aa, async (_0x549d77, _0x7db638, _0x55a368, {
from: _0x522091,
l: _0x243155,
quoted: _0x58bcdd,
body: _0x4ec107,
isCmd: _0x5c3cc1,
command: _0xd8b3ee,
args: _0xe69fe4,
q: _0x46e09c,
isGroup: _0xc2faac,
sender: _0x1ae174,
senderNumber: _0x533479,
botNumber2: _0x551c23,
botNumber: _0x1b700f,
pushname: _0x1646bb,
isMe: _0x5ca086,
isOwner: _0x2c6b0f,
groupMetadata: _0x4f2b9b,
groupName: _0x577a56,
participants: _0x35bedf,
groupAdmins: _0x109785,
isBotAdmins: _0x3a70db,
isCreator: _0xa323c2,
isDev: _0x460ec0,
isAdmins: _0x489710,
reply: _0x4445db
}) => {
try {
const _0x15dacf = (await fetchJson("https://raw.githubusercontent.com/SILENTLOVER40/SILENT-SOBX-MD-DATA/refs/heads/main/DATABASE/mreply.json")).replyMsg;
if (!_0xc2faac) {
return _0x4445db(_0x15dacf.only_gp);
}
if (!_0x489710) {
const _0x5dc6e = {
'quoted': _0x7db638
};
if (!_0x460ec0) {
_0x4445db(_0x15dacf.you_adm);
return _0x5dc6e;
}
}
if (!_0x3a70db) {
return _0x4445db(_0x15dacf.give_adm);
}
const _0x5b8728 = await _0x549d77.groupMetadata(_0x522091);
let _0x3d7bad = await _0x549d77.profilePictureUrl(_0x522091, 'image');
const _0x348767 = "\n*" + _0x5b8728.subject + "*\n\n🐉 *Group Jid* - " + _0x5b8728.id + "\n\n📬 *Participant Count* - " + _0x5b8728.size + "\n\n👤 *Group Creator* - " + _0x5b8728.owner + "\n\n📃 *Group Description* - " + _0x5b8728.desc + "\n\n";
const _0x30d9db = {
url: _0x3d7bad
};
const _0x4986c1 = {
"quoted": _0x7db638
};
await _0x549d77.sendMessage(_0x522091, {
'image': _0x30d9db,
'caption': _0x348767 + config.FOOTER
}, _0x4986c1);
} catch (_0x1e118d) {
const _0x4d6757 = {
"text": '❌',
"key": _0x7db638.key
};
const _0x2a549a = {
"react": _0x4d6757
};
await _0x549d77.sendMessage(_0x522091, _0x2a549a);
console.log(_0x1e118d);
_0x4445db("❌ *Error Accurated !!*\n\n" + _0x1e118d);
}
});
|