Spaces:
Paused
Paused
File size: 27,120 Bytes
8de10f9 |
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 |
import moment from 'moment-timezone';
import fs from 'fs';
import os from 'os';
import pkg, { prepareWAMessageMedia } from '@whiskeysockets/baileys';
const { generateWAMessageFromContent, proto } = pkg;
import config from '../../config.cjs';
// Get total memory and free memory in bytes
const totalMemoryBytes = os.totalmem();
const freeMemoryBytes = os.freemem();
// Define unit conversions
const byteToKB = 1 / 1024;
const byteToMB = byteToKB / 1024;
const byteToGB = byteToMB / 1024;
// Function to format bytes to a human-readable format
function formatBytes(bytes) {
if (bytes >= Math.pow(1024, 3)) {
return (bytes * byteToGB).toFixed(2) + ' GB';
} else if (bytes >= Math.pow(1024, 2)) {
return (bytes * byteToMB).toFixed(2) + ' MB';
} else if (bytes >= 1024) {
return (bytes * byteToKB).toFixed(2) + ' KB';
} else {
return bytes.toFixed(2) + ' bytes';
}
}
// Bot Process Time
const uptime = process.uptime();
const day = Math.floor(uptime / (24 * 3600)); // Calculate days
const hours = Math.floor((uptime % (24 * 3600)) / 3600); // Calculate hours
const minutes = Math.floor((uptime % 3600) / 60); // Calculate minutes
const seconds = Math.floor(uptime % 60); // Calculate seconds
// Uptime
const uptimeMessage = `*I am alive now since ${day}d ${hours}h ${minutes}m ${seconds}s*`;
const runMessage = `*โ๏ธ ${day} Day*\n*๐ ${hours} Hour*\n*โฐ ${minutes} Minutes*\n*โฑ๏ธ ${seconds} Seconds*\n`;
const xtime = moment.tz("Asia/Colombo").format("HH:mm:ss");
const xdate = moment.tz("Asia/Colombo").format("DD/MM/YYYY");
const time2 = moment().tz("Asia/Colombo").format("HH:mm:ss");
let pushwish = "";
if (time2 < "05:00:00") {
pushwish = `Good Morning ๐`;
} else if (time2 < "11:00:00") {
pushwish = `Good Morning ๐`;
} else if (time2 < "15:00:00") {
pushwish = `Good Afternoon ๐
`;
} else if (time2 < "18:00:00") {
pushwish = `Good Evening ๐`;
} else if (time2 < "19:00:00") {
pushwish = `Good Evening ๐`;
} else {
pushwish = `Good Night ๐`;
}
const test = async (m, Matrix) => {
let selectedListId;
const selectedButtonId = m?.message?.templateButtonReplyMessage?.selectedId;
const interactiveResponseMessage = m?.message?.interactiveResponseMessage;
if (interactiveResponseMessage) {
const paramsJson = interactiveResponseMessage.nativeFlowResponseMessage?.paramsJson;
if (paramsJson) {
const params = JSON.parse(paramsJson);
selectedListId = params.id;
// console.log(selectedListId);
}
}
const selectedId = selectedListId || selectedButtonId;
const prefix = config.PREFIX;
const cmd = m.body.startsWith(prefix) ? m.body.slice(prefix.length).split(' ')[0].toLowerCase() : '';
const mode = config.MODE === 'public' ? 'public' : 'private';
const pref = config.PREFIX;
const validCommands = ['list', 'help', 'menu'];
if (validCommands.includes(cmd)) {
let msg = generateWAMessageFromContent(m.from, {
viewOnceMessage: {
message: {
"messageContextInfo": {
"deviceListMetadata": {},
"deviceListMetadataVersion": 2
},
interactiveMessage: proto.Message.InteractiveMessage.create({
body: proto.Message.InteractiveMessage.Body.create({
text: `โญโโโโโโโโโโโโโโโโท
โ๐ค สแดแด ษดแดแดแด: *แดแดสษชx-แดแด
*
โ๐ แด แดส๊ฑษชแดษด: 2.1.0
โ๐จโ๐ป แดแดกษดแดส : *แดแดสษชx xsษชแด
*
โ๐ค ษดแดแดสแดส: 919142294671
โ๐ก แดสแดแดาแดสแด: *${os.platform()}*
โ๐ก แดแดแด
แด: *${mode}*
โ๐ซ แดสแดาษชx: [${pref}]
โฐโโโโโโโโโโโโโโโโท `
}),
footer: proto.Message.InteractiveMessage.Footer.create({
text: "ยฉ แดแดแดกแดสแดแด
สส แดแดสษชx-แดแด
"
}),
header: proto.Message.InteractiveMessage.Header.create({
...(await prepareWAMessageMedia({ image : fs.readFileSync('./src/ethix.jpg')}, { upload: Matrix.waUploadToServer})),
title: ``,
gifPlayback: true,
subtitle: "",
hasMediaAttachment: false
}),
nativeFlowMessage: proto.Message.InteractiveMessage.NativeFlowMessage.create({
buttons: [
{
"name": "quick_reply",
"buttonParamsJson": JSON.stringify({
display_text: "ALIVE",
id: `${prefix}alive`
})
},
{
"name": "quick_reply",
"buttonParamsJson": JSON.stringify({
display_text: "PING",
id: `${prefix}ping`
})
},
{
"name": "single_select",
"buttonParamsJson": `{"title":"๐๐ป๐ซ๐ธ ๐
๐ฏ๐ช ๐ฏ๐ธ๐ต๐ด ๐ณ๐ต๐ด๐",
"sections":
[{
"title":"๐ ๐ฏ๐๐จ๐ช๐ธ-๐ญ๐ท ๐ฅ๐ฟ๐ฟ๐ญ๐ฏ๐ฎ๐",
"highlight_label":"๐คฉ ๐ฅ๐ฟ๐ฟ๐ญ๐ฏ๐ฎ๐",
"rows":[
{
"header":"",
"title":"๐ฐ แดสส แดแดษดแด",
"description":"๐จ๐ฏ๐๐จ๐ช๐ธ-๐ญ๐ท ๐ฅ๐ฟ๐ฟ๐ญ๐ฏ๐ฎ๐๐จ",
"id":"View All Menu"
},
{
"header":"",
"title":"โฌ๏ธ แด
แดแดกษดสแดแดแด
แดส แดแดษดแด",
"description":"๐๐๐ฎ๐ฏ๐ ๐ซ๐๐ ๐๐ฏ๐๐ด๐๐ฏ๐ซ๐ ๐
๐ต๐ซ๐ป๐๐ช๐ต๐๐",
"id":"Downloader Menu"
},
{
"header":"",
"title":"๐จโ๐จโ๐งโ๐งษขสแดแดแด แดแดษดแด",
"description":"๐ฅต๐
๐ต๐ซ๐ป๐๐ช๐ต ๐ป๐ฎ๐ซ๐ป ๐ซ๐ช๐ต ๐ฏ๐ด๐๐ ๐ซ๐๐ฐ๐๐ซ๐ฉ๐๐ต ๐
๐ฏ๐ช ๐๐ช๐ฏ๐๐ธ๐ฅต",
"id":"Group Menu"
},
{
"header":"",
"title":"๐จโ๐ง แดแดแดส แดแดษดแด",
"description":"๐ ๐๐ฎ๐ฏ๐ ๐ณ๐ต ๐ป๐ฏ๐ฏ๐ ๐ณ๐ต๐ด๐",
"id":"Tool Menu"
},
{
"header":"",
"title":"๐ฟ แดแดษชษด แดแดษดแด",
"description":"๐ช ๐ฉ๐ฏ๐ป ๐ณ๐ซ๐ฐ๐ด ๐๐ฏ๐ณ๐ณ๐ซ๐ด๐๐๐ณ",
"id":"Main Menu"
},
{
"header":"",
"title":"๐จโ๐ป แดแดกษดแดส แดแดษดแด",
"description":"๐๐
๐ต๐ซ๐ป๐๐ช๐ต ๐ป๐ฎ๐ซ๐ป ๐ซ๐ช๐ต ๐ฏ๐ด๐๐ ๐
๐ฏ๐ช ๐ณ๐ ๐ฎ๐ซ๐ด๐๐๐ฏ๐ณ๐ต ๐ฏ๐๐ด๐ต๐ช๐จโ๐ผ",
"id":"Owner Menu"
},
{
"header":"",
"title":"โจ แดษช แดแดษดแด",
"description":"๐ซ ๐๐ฎ๐ฏ๐ ๐ณ๐ต ๐ซ๐ฐ ๐ณ๐ต๐ด๐ ๐",
"id":"Ai Menu"
},
{
"header":"",
"title":"๐sแดแดสแดส แดแดษดแด๐",
"description":"โ๏ธ ๐๐ฎ๐ฏ๐ ๐ณ๐ต ๐๐ต๐ซ๐ช๐๐ฎ ๐ณ๐ต๐ด๐",
"id":"Search Menu"
},
{
"header":"",
"title":"๐งโโ๏ธ sแดแดสแด แดแดษดแด",
"description":"๐จโ๐ผ ๐๐ฎ๐ฏ๐ ๐ณ๐ต ๐๐ป๐ซ๐๐ ๐ณ๐ต๐ด๐๐ช",
"id":"Stalk Menu"
},
{
"header":"",
"title":"๐ฅ ๐๐๐๐๐๐๐๐๐ ๐๐๐๐",
"description":"๐ท ๐๐ฎ๐ฏ๐ ๐ณ๐ต ๐๐ฏ๐ด๐๐ต๐ช๐ป๐ต๐ช ๐ณ๐ต๐ด๐",
"id":"Converter Menu"
}
]}
]}`
},
],
}),
contextInfo: {
quotedMessage: m.message,
mentionedJid: [m.sender],
forwardingScore: 999,
isForwarded: true,
forwardedNewsletterMessageInfo: {
newsletterJid: '120363249960769123@newsletter',
newsletterName: "Ethix-MD",
serverMessageId: 143
}
}
}),
},
},
}, {});
await Matrix.relayMessage(msg.key.remoteJid, msg.message, {
messageId: msg.key.id
});
}
if (selectedId == "View All Menu") {
const str = `hey ${m.pushName} ${pushwish}
โญโโโโโโโโโโโโโโโโท
โ๐ค สแดแด ษดแดแดแด: *แดแดสษชx-แดแด
*
โ๐ แด แดส๊ฑษชแดษด: 2.0.3
โ๐จโ๐ป แดแดกษดแดส : *แดแดสษชx xsษชแด
*
โ๐ค ษดแดแดสแดส: 919142294671
โ๐ป แดสแดแดาแดสแด: *${os.platform()}*
โ๐ก แดแดแด
แด: *${config.MODE}*
โ๐ซ แดสแดาษชx: [${pref}]
โฐโโโโโโโโโโโโโโโโท
โญโโฎ ๐ฒ๐พ๐ฝ๐
๐ด๐๐๐ด๐ โฏโโฎ
โโฐ ${prefix}๐ฐ๐๐๐ฟ
โโฐ ${prefix}๐ฐ๐๐๐ฟ2
โโฐ ${prefix}๐ฐ๐๐๐ฟ3
โโฐ ${prefix}๐ด๐ฑ๐ธ๐ฝ๐ฐ๐๐
โโฐ ${prefix}๐ณ๐ฑ๐ธ๐ฝ๐ฐ๐๐
โโฐ ${prefix}๐ด๐ผ๐พ๐น๐ธ๐ผ๐ธ๐
โโฐ ${prefix}๐ผ๐ฟ3
โฐโโโโโโโโโโโโโโโโชผ
โญโโฎ ๐ฐ๐ธ โฏโโฎ
โโฐ ${prefix}๐ฐ๐
โโฐ ${prefix}๐ฑ๐๐
โโฐ ${prefix}๐๐๐๐๐๐
โโฐ ${prefix}๐ถ๐๐
โโฐ ${prefix}๐ณ๐๐๐๐
โโฐ ${prefix}๐๐๐๐๐๐
โโฐ ${prefix}๐ถ๐๐๐๐๐
โฐโโโโโโโโโโโโโโโโชผ
โญโโฎ ๐๐พ๐พ๐ป โฏโโฎ
โโฐ ${prefix}๐ฒ๐๐๐๐๐๐๐๐๐
โโฐ ${prefix}๐๐๐๐๐๐๐๐
โโฐ ${prefix}๐ฒ๐๐๐๐๐๐๐๐
โโฐ ${prefix}๐๐๐
โโฐ ${prefix}๐๐๐
โฐโโโโโโโโโโโโโโโโชผ
โญโโฎ ๐ถ๐๐พ๐๐ฟ โฏโโฎ
โโฐ ${prefix}๐ป๐๐๐๐ถ๐๐๐๐
โโฐ ${prefix}๐๐๐๐๐๐๐
โโฐ ${prefix}๐๐๐๐๐๐๐
โโฐ ${prefix}๐๐๐๐๐๐๐
โโฐ ${prefix}๐ถ๐๐๐๐
โโฐ ${prefix}๐ถ๐๐๐๐๐๐๐๐
โโฐ ${prefix}๐๐๐๐๐๐๐
โโฐ ${prefix}๐ฐ๐๐
โโฐ ${prefix}๐บ๐๐๐
โโฐ ${prefix}๐ท๐๐๐๐๐๐
โโฐ ${prefix}๐๐๐๐๐๐
โโฐ ${prefix}๐ฐ๐๐๐๐ป๐๐๐
โโฐ ${prefix}๐ฐ๐๐๐๐๐๐ก๐๐
โโฐ ${prefix}๐ฟ๐๐๐๐๐๐
โโฐ ${prefix}๐ณ๐๐๐๐๐
โโฐ ${prefix}๐ถ๐๐๐๐๐
โฐโโโโโโโโโโโโโโโโชผ
โญโโฎ ๐ณ๐พ๐๐ฝ๐ป๐พ๐ฐ๐ณ โฏโโฎ
โโฐ ${prefix}๐ฐ๐๐
โโฐ ${prefix}๐ต๐๐๐๐๐๐๐
โโฐ ${prefix}๐ผ๐๐๐๐๐๐๐๐
โโฐ ${prefix}๐ฟ๐๐๐๐๐๐๐๐๐๐
โโฐ ${prefix}๐ถ๐๐๐๐๐๐๐
โโฐ ${prefix}๐ถ๐๐๐๐๐
โโฐ ${prefix}๐ธ๐๐๐๐
โโฐ ${prefix}๐๐๐๐3
โโฐ ${prefix}๐๐๐๐4
โโฐ ${prefix}๐ฟ๐๐๐ข
โโฐ ${prefix}๐๐๐๐
โโฐ ${prefix}๐
๐๐๐๐
โโฐ ${prefix}๐๐๐๐3๐๐๐
โโฐ ${prefix}๐๐๐๐4๐๐๐
โโฐ ${prefix}๐๐๐๐๐๐
โฐโโโโโโโโโโโโโโโโชผ
โญโโฎ ๐๐ด๐ฐ๐๐ฒ๐ท โฏโโฎ
โโฐ ${prefix}๐ฟ๐๐๐ข
โโฐ ${prefix}๐๐๐
โโฐ ${prefix}๐ธ๐๐๐
โโฐ ${prefix}๐ถ๐๐๐๐๐
โโฐ ${prefix}๐ถ๐๐๐๐๐
โโฐ ${prefix}๐ฟ๐๐๐๐๐๐๐๐
โโฐ ${prefix}๐๐๐๐๐๐๐๐๐
โโฐ ${prefix}๐๐๐๐๐๐๐๐๐
โโฐ ${prefix}๐๐๐๐๐๐๐๐
โโฐ ${prefix}๐๐๐๐๐๐๐๐
โโฐ ${prefix}๐ป๐ข๐๐๐๐
โฐโโโโโโโโโโโโโโโโชผ
โญโโฎ ๐ผ๐ฐ๐ธ๐ฝ โฏโโฎ
โโฐ ${prefix}๐ฟ๐๐๐
โโฐ ${prefix}๐ฐ๐๐๐๐
โโฐ ${prefix}๐พ๐ ๐๐๐
โโฐ ${prefix}๐ผ๐๐๐
โโฐ ${prefix}๐ธ๐๐๐๐๐๐
โฐโโโโโโโโโโโโโโโโชผ
โญโโฎ ๐พ๐๐ฝ๐ด๐ โฏโโฎ
โโฐ ${prefix}๐น๐๐๐
โโฐ ${prefix}๐ป๐๐๐๐
โโฐ ${prefix}๐ฑ๐๐๐๐
โโฐ ${prefix}๐๐๐๐๐๐๐
โโฐ ${prefix}๐๐๐๐๐๐๐๐
โโฐ ${prefix}๐ฐ๐๐๐๐๐๐๐
โโฐ ${prefix}๐๐๐๐๐๐๐๐๐
โโฐ ${prefix}๐๐๐๐๐๐๐๐๐๐
โโฐ ${prefix}๐ฐ๐๐๐๐๐ข๐๐๐๐
โโฐ ${prefix}๐ฐ๐๐ ๐๐ข๐๐พ๐๐๐๐๐
โโฐ ${prefix}๐ฐ๐๐๐๐๐๐๐
โโฐ ${prefix}๐๐๐๐๐๐๐๐๐
โฐโโโโโโโโโโโโโโโโชผ
โญโโฎ ๐๐๐ฐ๐ป๐บ โฏโโฎ
โโฐ ${prefix}๐๐๐๐๐๐๐๐๐๐
โโฐ ${prefix}๐ธ๐๐๐๐๐๐๐๐๐
โโฐ ${prefix}๐ถ๐๐๐๐๐๐๐๐๐๐
โฐโโโโโโโโโโโโโโโโชผ
`;
let fgg = {
key: {
fromMe: false,
participant: `0@s.whatsapp.net`,
remoteJid: "status@broadcast"
},
message: {
contactMessage: {
displayName: `Ethix-MD`,
vcard: `BEGIN:VCARD\nVERSION:3.0\nN:;a,;;;\nFN:'Ethix-MD'\nitem1.TEL;waid=${
m.sender.split("@")[0]
}:${
m.sender.split("@")[0]
}\nitem1.X-ABLabel:Ponsel\nEND:VCARD`
}
}
};
let { key } = await Matrix.sendMessage(m.from, {
image: fs.readFileSync('./src/ethix.jpg'),
caption: str,
contextInfo: {
mentionedJid: [m.sender],
forwardingScore: 999,
isForwarded: true,
forwardedNewsletterMessageInfo: {
newsletterJid: '120363249960769123@newsletter',
newsletterName: "Ethix-MD",
serverMessageId: 143
}
}
}, {
quoted: fgg
});
}
if ( selectedId == "Downloader Menu") {
const str = `โญโโโโฎ *s แด ส แด แด ส* โฏ
โโฅ ๐๐พ๐๐ฐ๐ป ๐๐ฐ๐ผ: ${formatBytes(totalMemoryBytes)}
โโฅ ๐ต๐๐ด๐ด ๐๐ฐ๐ผ: ${formatBytes(freeMemoryBytes)}
โฐโโโโโโโโโโโโโโโโฅ
โญโโฎ ๐ณ๐พ๐๐ฝ๐ป๐พ๐ฐ๐ณ โฏโโฎ
โโฐ ${prefix}๐ฐ๐๐
โโฐ ${prefix}๐ต๐๐๐๐๐๐๐
โโฐ ${prefix}๐ผ๐๐๐๐๐๐๐๐
โโฐ ${prefix}๐ฟ๐๐๐๐๐๐๐๐๐๐
โโฐ ${prefix}๐ถ๐๐๐๐๐๐๐
โโฐ ${prefix}๐ถ๐๐๐๐๐
โโฐ ${prefix}๐ธ๐๐๐๐
โโฐ ${prefix}๐๐๐๐3
โโฐ ${prefix}๐๐๐๐4
โโฐ ${prefix}๐ฟ๐๐๐ข
โโฐ ${prefix}๐๐๐๐
โโฐ ${prefix}๐
๐๐๐๐
โโฐ ${prefix}๐๐๐๐3๐๐๐
โโฐ ${prefix}๐๐๐๐4๐๐๐
โโฐ ${prefix}๐๐๐๐๐๐
โฐโโโโโโโโโโโโโโโโชผ`
await Matrix.sendMessage(m.from, {
image: fs.readFileSync('./src/ethix.jpg'),
caption: str,
contextInfo: {
mentionedJid: [m.sender],
forwardingScore: 999,
isForwarded: true,
forwardedNewsletterMessageInfo: {
newsletterJid: '120363249960769123@newsletter',
newsletterName: "Ethix-MD",
serverMessageId: 143
}
}
}, {
quoted: m
});
}
if ( selectedId == "Group Menu") {
const str = `โญโโโโฎ *s แด ส แด แด ส* โฏ
โโฅ ๐๐พ๐๐ฐ๐ป ๐๐ฐ๐ผ: ${formatBytes(totalMemoryBytes)}
โโฅ ๐ต๐๐ด๐ด ๐๐ฐ๐ผ: ${formatBytes(freeMemoryBytes)}
โฐโโโโโโโโโโโโโโโโฅ
โญโโฎ ๐ถ๐๐พ๐๐ฟ โฏโโฎ
โโฐ ${prefix}๐ป๐๐๐๐ถ๐๐๐๐
โโฐ ${prefix}๐๐๐๐๐๐๐
โโฐ ${prefix}๐๐๐๐๐๐๐
โโฐ ${prefix}๐๐๐๐๐๐๐
โโฐ ${prefix}๐ถ๐๐๐๐
โโฐ ${prefix}๐๐๐๐๐๐๐
โโฐ ${prefix}๐ฐ๐๐
โโฐ ${prefix}๐บ๐๐๐
โโฐ ${prefix}๐ท๐๐๐๐๐๐
โโฐ ${prefix}๐๐๐๐๐๐
โโฐ ${prefix}๐ฐ๐๐๐๐ป๐๐๐
โโฐ ${prefix}๐ฐ๐๐๐๐๐๐ก๐๐
โโฐ ${prefix}๐ฟ๐๐๐๐๐๐
โโฐ ${prefix}๐ณ๐๐๐๐๐
โโฐ ${prefix}๐ถ๐๐๐๐๐
โฐโโโโโโโโโโโโโโโโชผ
`
await Matrix.sendMessage(m.from, {
image: fs.readFileSync('./src/ethix.jpg'),
caption: str,
contextInfo: {
mentionedJid: [m.sender],
forwardingScore: 9999,
isForwarded: true,
}
}, {
quoted: m
});
}
if (selectedId == "Main Menu") {
const str =`โญโโโโฎ *s แด ส แด แด ส* โฏ
โโฅ ๐๐พ๐๐ฐ๐ป ๐๐ฐ๐ผ: ${formatBytes(totalMemoryBytes)}
โโฅ ๐ต๐๐ด๐ด ๐๐ฐ๐ผ: ${formatBytes(freeMemoryBytes)}
โฐโโโโโโโโโโโโโโโโฅ
โญโโฎ ๐ผ๐ฐ๐ธ๐ฝ โฏโโฎ
โโฐ ${prefix}๐ฟ๐๐๐
โโฐ ${prefix}๐ฐ๐๐๐๐
โโฐ ${prefix}๐พ๐ ๐๐๐
โโฐ ${prefix}๐ผ๐๐๐
โโฐ ${prefix}๐ธ๐๐๐๐๐๐
โฐโโโโโโโโโโโโโโโโชผ`
await Matrix.sendMessage(m.from, {
image: fs.readFileSync('./src/ethix.jpg'),
caption: str,
contextInfo: {
mentionedJid: [m.sender],
forwardingScore: 999,
isForwarded: true,
forwardedNewsletterMessageInfo: {
newsletterJid: '120363249960769123@newsletter',
newsletterName: "Ethix-MD",
serverMessageId: 143
}
}
}, {
quoted: m
});
}
if (selectedId == "Owner Menu") {
const str = `โญโโโโฎ *s แด ส แด แด ส* โฏ
โโฅ ๐๐พ๐๐ฐ๐ป ๐๐ฐ๐ผ: ${formatBytes(totalMemoryBytes)}
โโฅ ๐ต๐๐ด๐ด ๐๐ฐ๐ผ: ${formatBytes(freeMemoryBytes)}
โฐโโโโโโโโโโโโโโโโฅ
โญโโฎ ๐พ๐๐ฝ๐ด๐ โฏโโฎ
โโฐ ${prefix}๐น๐๐๐
โโฐ ${prefix}๐ป๐๐๐๐
โโฐ ${prefix}๐ฑ๐๐๐๐
โโฐ ${prefix}๐๐๐๐๐๐๐
โโฐ ${prefix}๐ฑ๐๐๐๐๐๐
โโฐ ${prefix}๐ฑ๐๐๐๐
โโฐ ${prefix}๐๐๐๐๐๐๐๐
โโฐ ${prefix}๐ฐ๐๐๐๐๐๐๐
โโฐ ${prefix}๐๐๐๐๐๐๐๐๐
โโฐ ${prefix}๐๐๐๐๐๐๐๐๐๐
โโฐ ${prefix}๐ฐ๐๐๐๐๐ข๐๐๐๐
โโฐ ${prefix}๐ฐ๐๐ ๐๐ข๐๐พ๐๐๐๐๐
โโฐ ${prefix}๐ฐ๐๐๐๐๐๐๐
โโฐ ${prefix}๐๐๐๐๐๐๐๐๐
โฐโโโโโโโโโโโโโโโโชผ`
await Matrix.sendMessage(m.from, {
image: fs.readFileSync('./src/ethix.jpg'),
caption: str,
contextInfo: {
mentionedJid: [m.sender],
forwardingScore: 999,
isForwarded: true,
forwardedNewsletterMessageInfo: {
newsletterJid: '120363249960769123@newsletter',
newsletterName: "Ethix-MD",
serverMessageId: 143
}
}
}, {
quoted: m
});
}
if (selectedId == "Search Menu") {
const str =`โญโโโโฎ *s แด ส แด แด ส* โฏ
โโฅ ๐๐พ๐๐ฐ๐ป ๐๐ฐ๐ผ: ${formatBytes(totalMemoryBytes)}
โโฅ ๐ต๐๐ด๐ด ๐๐ฐ๐ผ: ${formatBytes(freeMemoryBytes)}
โฐโโโโโโโโโโโโโโโโฅ
โญโโฎ ๐๐ด๐ฐ๐๐ฒ๐ท โฏโโฎ
โโฐ ${prefix}๐ฟ๐๐๐ข
โโฐ ${prefix}๐๐๐
โโฐ ${prefix}๐ธ๐๐๐
โโฐ ${prefix}๐ถ๐๐๐๐๐
โโฐ ${prefix}๐ถ๐๐๐๐๐
โโฐ ${prefix}๐ฟ๐๐๐๐๐๐๐๐
โโฐ ${prefix}๐๐๐๐๐๐๐๐๐
โโฐ ${prefix}๐๐๐๐๐๐๐๐๐
โโฐ ${prefix}๐๐๐๐๐๐๐๐
โโฐ ${prefix}๐๐๐๐๐๐๐๐
โโฐ ${prefix}๐ป๐ข๐๐๐๐
โฐโโโโโโโโโโโโโโโโชผ`
await Matrix.sendMessage(m.from, {
image: fs.readFileSync('./src/ethix.jpg'),
caption: str,
contextInfo: {
mentionedJid: [m.sender],
forwardingScore: 999,
isForwarded: true,
forwardedNewsletterMessageInfo: {
newsletterJid: '120363249960769123@newsletter',
newsletterName: "Ethix-MD",
serverMessageId: 143
}
}
}, {
quoted: m
});
}
if (selectedId == "Stalk Menu") {
const str =`โญโโโโฎ *s แด ส แด แด ส* โฏ
โโฅ ๐๐พ๐๐ฐ๐ป ๐๐ฐ๐ผ: ${formatBytes(totalMemoryBytes)}
โโฅ ๐ต๐๐ด๐ด ๐๐ฐ๐ผ: ${formatBytes(freeMemoryBytes)}
โฐโโโโโโโโโโโโโโโโฅ
โญโโฎ ๐๐๐ฐ๐ป๐บ โฏโโฎ
โโฐ ${prefix}๐ฝ๐๐ ๐
โโฐ ${prefix}๐๐๐๐๐๐๐๐๐๐
โโฐ ${prefix}๐ธ๐๐๐๐๐๐๐๐๐
โโฐ ${prefix}๐ถ๐๐๐๐๐๐๐๐๐๐
โฐโโโโโโโโโโโโโโโโชผ`
await Matrix.sendMessage(m.from, {
image: fs.readFileSync('./src/ethix.jpg'),
caption: str,
contextInfo: {
mentionedJid: [m.sender],
forwardingScore: 999,
isForwarded: true,
forwardedNewsletterMessageInfo: {
newsletterJid: '120363249960769123@newsletter',
newsletterName: "Ethix-MD",
serverMessageId: 143
}
}
}, {
quoted: m
});
}
if (selectedId == "Tool Menu") {
const str =`โญโโโโฎ *s แด ส แด แด ส* โฏ
โโฅ ๐๐พ๐๐ฐ๐ป ๐๐ฐ๐ผ: ${formatBytes(totalMemoryBytes)}
โโฅ ๐ต๐๐ด๐ด ๐๐ฐ๐ผ: ${formatBytes(freeMemoryBytes)}
โฐโโโโโโโโโโโโโโโโฅ
โญโโฎ ๐๐พ๐พ๐ป โฏโโฎ
โโฐ ${prefix}๐ฒ๐๐๐๐๐๐๐๐๐
โโฐ ${prefix}๐๐๐๐๐๐๐๐
โโฐ ${prefix}๐ฒ๐๐๐๐๐๐๐๐
โโฐ ${prefix}๐ธ๐๐๐
โโฐ ${prefix}๐๐๐
โโฐ ${prefix}๐๐๐
โฐโโโโโโโโโโโโโโโโชผ`
await Matrix.sendMessage(m.from, {
image: fs.readFileSync('./src/ethix.jpg'),
caption: str,
contextInfo: {
mentionedJid: [m.sender],
forwardingScore: 999,
isForwarded: true,
forwardedNewsletterMessageInfo: {
newsletterJid: '120363249960769123@newsletter',
newsletterName: "Ethix-MD",
serverMessageId: 143
}
}
}, {
quoted: m
});
}
if (selectedId == "Ai Menu") {
const str =`โญโโโโฎ *s แด ส แด แด ส* โฏ
โโฅ ๐๐พ๐๐ฐ๐ป ๐๐ฐ๐ผ: ${formatBytes(totalMemoryBytes)}
โโฅ ๐ต๐๐ด๐ด ๐๐ฐ๐ผ: ${formatBytes(freeMemoryBytes)}
โฐโโโโโโโโโโโโโโโโฅ
โญโโฎ ๐ฐ๐ธ โฏโโฎ
โโฐ ${prefix}๐ฐ๐
โโฐ ${prefix}๐ฑ๐๐
โโฐ ${prefix}๐๐๐๐๐๐
โโฐ ${prefix}๐ถ๐๐
โโฐ ${prefix}๐ณ๐๐๐๐
โโฐ ${prefix}๐๐๐๐๐๐
โโฐ ${prefix}๐ถ๐๐๐๐๐
โฐโโโโโโโโโโโโโโโโชผ`
await Matrix.sendMessage(m.from, {
image: fs.readFileSync('./src/ethix.jpg'),
caption: str,
contextInfo: {
mentionedJid: [m.sender],
forwardingScore: 999,
isForwarded: true,
forwardedNewsletterMessageInfo: {
newsletterJid: '120363249960769123@newsletter',
newsletterName: "Ethix-MD",
serverMessageId: 143
}
}
}, {
quoted: m
});
}
if (selectedId == "Converter Menu") {
const str =`โญโโโโฎ *s แด ส แด แด ส* โฏ
โโฅ ๐๐พ๐๐ฐ๐ป ๐๐ฐ๐ผ: ${formatBytes(totalMemoryBytes)}
โโฅ ๐ต๐๐ด๐ด ๐๐ฐ๐ผ: ${formatBytes(freeMemoryBytes)}
โฐโโโโโโโโโโโโโโโโฅ
โญโโฎ ๐ฒ๐พ๐ฝ๐
๐ด๐๐๐ด๐ โฏโโฎ
โโฐ ${prefix}๐ฐ๐๐๐ฟ
โโฐ ${prefix}๐ฐ๐๐๐ฟ2
โโฐ ${prefix}๐ฐ๐๐๐ฟ3
โโฐ ${prefix}๐ด๐ฑ๐ธ๐ฝ๐ฐ๐๐
โโฐ ${prefix}๐ณ๐ฑ๐ธ๐ฝ๐ฐ๐๐
โโฐ ${prefix}๐ด๐ผ๐พ๐น๐ธ๐ผ๐ธ๐
โโฐ ${prefix}๐ผ๐ฟ3
โฐโโโโโโโโโโโโโโโโชผ
`
await Matrix.sendMessage(m.from, {
image: fs.readFileSync('./src/ethix.jpg'),
caption: str,
contextInfo: {
mentionedJid: [m.sender],
forwardingScore: 999,
isForwarded: true,
forwardedNewsletterMessageInfo: {
newsletterJid: '120363249960769123@newsletter',
newsletterName: "Ethix-MD",
serverMessageId: 143
}
}
}, {
quoted: m
});
}
};
export default test;
|