lordceaser-baileys 2.0.45 → 2.0.46
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.
- package/index.js +8 -417
- package/package.json +6 -16
- package/.config/termux/termux.properties +0 -93
- package/.npm/_cacache/content-v2/sha512/04/c1/a4e7841f265bfe9f6fe9a54ab0ad4aeb9b54bd69bca81fdbbfea32d6d40c87aa5c2c41967e3a9f8123e262e7214a19d37901846c59469ea1677b55e684a9 +0 -0
- package/.npm/_cacache/content-v2/sha512/0b/a3/5a59681982082a029c734428c8a506498026e269f0ed34013289b90252b86b220a3a908c9c04d93fcb85920bdea9e683bbf31bad37f3b9254aa872e85b7f +0 -0
- package/.npm/_cacache/content-v2/sha512/20/35/fc243b2c2a9a80464ab551328ec56f509a871f11b7d5fe7e868a0352e506e6f7bc3cfd6c7950319465ade091dfd2cc96907473ded8ac564122a7ce498b53 +0 -0
- package/.npm/_cacache/content-v2/sha512/22/73/7c1e7e6ec12797b37b0c597eaceda7555b5e8fd41919a12b56ecc9860598035686f36d21ea3db9d5688503aaf749e9d67fbb16aec859e2d23d9ad33ac67b +0 -0
- package/.npm/_cacache/content-v2/sha512/24/3c/ee06d20f46237ea4d4bfd6bb9c69f13feafc5418c5eaf430f43f8852167ccd8fa9f26424c9c7f147b887f4f620f82d46efabbd72ae4c101da391f71f8edb +0 -1
- package/.npm/_cacache/content-v2/sha512/29/0c/2bba6b33fe70f1a950d25a3903dd04c749bb27cbd41382d4f5d441cdbbda6543c34b6d1ef2ae6d2d954700504b4e0e29c84d696e84e77963cc7b2711a875 +0 -0
- package/.npm/_cacache/content-v2/sha512/2a/21/dae896cf66eb9870a007d150043dad671ce5f482fbefb0863a43828485b268c66e693543170f5a2aafcc5da2c8f2930687bf33b6db1f922e91e4142a8193 +0 -0
- package/.npm/_cacache/content-v2/sha512/37/83/9b4665deb8302bf5aaa82fa78783905989fd75bec5f816e2304b802b748bf79ecdc74aa1509382e4f59239ac222fd3b4dd9f8392d9418271b0b173dbcdef +0 -0
- package/.npm/_cacache/content-v2/sha512/3c/dd/f5c709ac93d5d28176bb22eac5fe9768a4d65a4bd32e7582eeb52441dc37d523aeb98298a4811bac4aef443697baad357222b43e7e64428dd41c8d678077 +0 -1
- package/.npm/_cacache/content-v2/sha512/3d/f1/8c78f26f9f6c3e6ee52575646a2056be786be69af1ea9ebeb9d77469e7cb051fba4841e56b1807adcbf65f27ca2796b8adcf4e7089827e259657e300608b +0 -1
- package/.npm/_cacache/content-v2/sha512/47/ef/cb5c9061fda45ebd1ed0aaadda4d661c8be0c479e94d120d63af7b129798a88b693253ba610571b6ff20eae1a14e3b0f8363a036c9f1cb9d3dbcd7cd1f71 +0 -0
- package/.npm/_cacache/content-v2/sha512/4c/8a/efe49c399567eeaba40b14247a4c7d6588cc1de5ddcc1f88f5ad4e2b1b9694b78bb65902b30c9f10dc1ca808dcaa0c60aa7cb7e3c725111ebf5f4b9ac529 +0 -0
- package/.npm/_cacache/content-v2/sha512/54/68/a908e1bb5cc1db3cff8bc90472ae7118b5c6a5285ff62561a4b2a182bc034181a49b459e3cf32007e5cb7f9be831e7b030e175f2c12cf7d3677753bb69a2 +0 -1
- package/.npm/_cacache/content-v2/sha512/57/cf/309075d2cb07d593b16e2a3b23c2363cadfd229f427d85c045f3acc02b2b7da77cd140c4f7d57ae6a2b5919735ed66edd399b092a945f5b980b8a63fcbd9 +0 -0
- package/.npm/_cacache/content-v2/sha512/58/af/97f23bbc4cf1b1bd622c3fc86b63a241e8596d62e15efafb2a29f8ce617db924e6e28fda8b7f6737646765d50faf845c1b9d3f80666580079a53bf399289 +0 -0
- package/.npm/_cacache/content-v2/sha512/5b/f7/540d2b39e21c9ecf170959f9c18ca5e7f621eb1571ba4fa300fe6ea63580a5a0a305dbf0ce8574da6a26632ce85ce52bbcc266037c316d66aa192a0857d5 +0 -1
- package/.npm/_cacache/content-v2/sha512/66/4b/a28bc36c0530eb895a9a959bbaae66575de84c89df21aca17d2eb489c28aee2cb91d1d6c77485e64559432b56d29ffc806ebacfa5db95566772d7ca7465f +0 -1
- package/.npm/_cacache/content-v2/sha512/66/c4/64f2f76e6fd3cb6a54e920e1e93cc53157369a91e857de5e798c60c0c5172a27bdf274ee4dae740cb5f1862b9e6a898042191f09d31c5ad52edd73fa33ff +0 -1
- package/.npm/_cacache/content-v2/sha512/73/6b/d03ab18788acb29bd3bf637768d856fd5b6cbccdd37ffb7803377b3cebcaba945f9607a8709ddfe861b72f3b4ade73b16ce27c709d819a4dbd4ebd475658 +0 -1
- package/.npm/_cacache/content-v2/sha512/7a/67/1a898325808e983d393b84bd443a7657c1f36e162183bf34172f9abd0d5b1fd0fbfa2287dbccbdacd4abbba6f9fab0896d9434ef74ceaae2edf5188690b5 +0 -0
- package/.npm/_cacache/content-v2/sha512/7c/6c/acda26ea37960abbac8daf0dc259216b34de0836e8faf83e4a269f74a04128670c50fb2981c71a7726d2d423146e6a47b30cae5d2ee8e793180e519e9b82 +0 -0
- package/.npm/_cacache/content-v2/sha512/8c/3d/876af61c79649c1d86d2299ac45fefa179121f2812dc0a499a2c06a428908548b9d0ceec8061ad58d019aac076b36edfdd929446b71dba10e2deaf3dfa9a +0 -0
- package/.npm/_cacache/content-v2/sha512/8d/a3/711cecf3a6a634044b80dafc79b6134acc922a7daac6c14e4154acfd722de7081b4dc0e22ac64ed88011d71da2473b4ccea3cac3016fb76e6c13a8eb9b9e +0 -1
- package/.npm/_cacache/content-v2/sha512/8e/aa/0a70ad0558990da15ecebd28f985958aab0e259f64e8577cf2c5c73becffe2eb6dc263596ecc7fb2fb772d60473a6ced55a54e01499f1a9c010b9d5a01fd +0 -0
- package/.npm/_cacache/content-v2/sha512/90/c2/06ad3d753ea8d354b394aad2564854dd666b02015a94a5a400ac88edecd6e54971f151b2f4210db7f5636ae0798af1f1f1a3414bf76e9f5c18a3f0c7f0b6 +0 -1
- package/.npm/_cacache/content-v2/sha512/9b/db/aa56b4b8f6fcc1cc6f053cf817074faf1c2690a766010dc449333a7a97d1450b7a1d6897d1893b743b8cc691c8aa8ea79978f26f3ebde0422cff03640da2 +0 -1
- package/.npm/_cacache/content-v2/sha512/9e/c9/9cb8ab874a8339e8708d042bc137954989a36626c0571ff5892584ddff80e2119bafeac5b4dca6d86828094cd44677c91ab7e6cdad87df7e2adc75325192 +0 -0
- package/.npm/_cacache/content-v2/sha512/a6/89/9732c9fc52a3280dacd7ee6e004fd91387d37ee89108a504626ced30ef0ea07a8aadb1a98c9d0a00d8027d93c45a27618df5056c6313a692b35c0fe10944 +0 -1
- package/.npm/_cacache/content-v2/sha512/a7/44/329d9218fd6175ac0c2230440a12724490ff182d5197013c2d6244055b4e55bd0b2c07fb7261cc41f31158ed4cee7d0e0befc05570b8f922dcf54b2a4edc +0 -0
- package/.npm/_cacache/content-v2/sha512/b8/e1/efd9fbf933c2c182d8b03f2a33f534b5504fc165f8edd1f16c40b74f79bf98a84d6c5d72e8664334dc7659f251e3517bdd4ddf828e0cb37270fc1a60fd43 +0 -0
- package/.npm/_cacache/content-v2/sha512/bf/c9/1f9299906c9492fc030237160a31e7fb0d11ba3042633753fa455978caa5367c233468c20b9ed65d26c233eeea5c5ef712b2f235c00074b4398600c9bb1c +0 -1
- package/.npm/_cacache/content-v2/sha512/c6/f4/30d5cb38d2070b009f5d84e2dada84c4c4da89ae90eacde848245f37060ff8449da4723260d891f1dc0b3d724d14ac321d3034d9074783fa85f7db932ace +0 -1
- package/.npm/_cacache/content-v2/sha512/d4/4c/cb7a4b9ead8f4471be9d920502d7873ef23e1332fd17436e526e7521e2836c9fdc35087f9f07b4d2939e41eeab23f8037df069f171b350eaf5b152c43115 +0 -1
- package/.npm/_cacache/content-v2/sha512/d6/83/50e4d5d8b865cbbdf848ec204d8bd5517f64d087f161ff3d2f34fcd920874a429f89b95cafc56f46361deab826f461017ab0b895d8fa03c1adb9ed4c0e60 +0 -0
- package/.npm/_cacache/content-v2/sha512/d9/ed/e3f8b8857a8b8d92cb2f28481d2a56717cb2bd4aa2631ea9ff4dec090fb342efbcf93016fe0952910a712a273a9f4ffe5dd34a0a1cf2b7239edc44579483 +0 -0
- package/.npm/_cacache/content-v2/sha512/da/b6/070676fc8aa90dbee81b1e5a83bd1ed9136c538f5f217c8355a11a17752bee79fcf462cfcc2cf6183c828a18279ec278a2d837d358fc7ca0c553dfdab497 +0 -1
- package/.npm/_cacache/content-v2/sha512/e8/22/d4998efd23d8f8621fcdb60fbb615764fa41b8ea774e79d0d4cb2e30b6813c0e59030da2b5d7ee65fdd7f0b2556e098570d0dc0bde672c72f79d12596ad3 +0 -0
- package/.npm/_cacache/content-v2/sha512/ed/a7/d3bdd0c3cf779e22b5ddd73fe6d9848de5e8512d2b471651ee4c19afd50a3fda580481ba12aa0b41be1dfed6c589a60ea926bb307f6576a027d266bf2f28 +0 -1
- package/.npm/_cacache/content-v2/sha512/f3/69/13ba2896e217ed93824f71f86156975a0caee79b4c9036f5564332a37295b29213259c83042550b80960a17c4686cf08c9cf37b24cc71f285385bd03f6cc +0 -0
- package/.npm/_cacache/content-v2/sha512/fd/13/9f593b1e80be64fe9a7846e8fcb2500274dc00790b52301fd9482fe81779f6c13c662cc383cf642ec186cabce628e19abf9fdb35878ea93f786201409ed9 +0 -0
- package/.npm/_cacache/index-v5/79/9d/b9f2c9dde37f046c31b4e9c79fa005adfac128c0dd4f9acbb5a26ee6f2be +0 -2
- package/.npm/_cacache/index-v5/a4/cd/47e4f02a3bf5cdf2f503e2480fa63df8b51052feacb7cb3829a97ea24697 +0 -7
- package/.npm/_cacache/index-v5/b0/83/0c92634a1fd78bb963be6f3f094ec034e6c2612c76ec4c728330ce206907 +0 -2
- package/.npm/_cacache/index-v5/e0/f3/563a92774ad5fa62edb9cbc4624c17a784676e377b3852d16ab8dcb28bea +0 -4
- package/.npm/_cacache/index-v5/ed/a3/bb067b3296c94f40818cac61184db5090e511ef596b7b166aab2d9b18f59 +0 -22
- package/.npm/_cacache/index-v5/f0/7e/c8d04191b7c9f8f2c3a06807c6d03e683ee6da6a0775b23812fa291d9f04 +0 -3
- package/.npm/_cacache/index-v5/f6/34/73eefb1f7f68d405e4bb8568fe273a8354fa103495303a0ff74fb4167cf6 +0 -3
- package/.npm/_logs/2026-09-11T07_46_36_034Z-debug-0.log +0 -191
- package/.npm/_logs/2026-09-11T07_47_53_565Z-debug-0.log +0 -193
- package/.npm/_logs/2026-09-11T07_48_05_542Z-debug-0.log +0 -193
- package/.npm/_logs/2026-09-11T07_48_23_626Z-debug-0.log +0 -202
- package/.npm/_logs/2026-09-11T07_49_09_747Z-debug-0.log +0 -20
- package/.npm/_logs/2026-09-11T07_49_11_150Z-debug-0.log +0 -193
- package/.npm/_logs/2026-09-11T07_49_18_210Z-debug-0.log +0 -197
- package/.npm/_logs/2026-09-11T12_37_02_183Z-debug-0.log +0 -190
- package/.npm/_logs/2026-09-11T12_37_10_268Z-debug-0.log +0 -19
- package/.npm/_logs/2026-09-11T12_37_11_707Z-debug-0.log +0 -579
- package/.npm/_logs/2026-09-11T12_37_23_100Z-debug-0.log +0 -14
- package/.npm/_update-notifier-last-checked +0 -0
- package/.ssh/authorized_keys +0 -0
- package/C4-Society/node_modules/lordceaser-baileys/index.js +0 -192
- package/C4-Society/node_modules/lordceaser-baileys/package.json +0 -42
- package/lordceaser-baileys/.editorconfig +0 -5
- package/lordceaser-baileys/.gitattributes +0 -2
- package/lordceaser-baileys/.github/FUNDING.yml +0 -1
- package/lordceaser-baileys/.github/ISSUE_TEMPLATE/bug_report.md +0 -29
- package/lordceaser-baileys/.github/ISSUE_TEMPLATE/config.yml +0 -4
- package/lordceaser-baileys/.github/ISSUE_TEMPLATE/feature-requests.md +0 -15
- package/lordceaser-baileys/.github/README.md +0 -64
- package/lordceaser-baileys/.github/workflows/build.yml +0 -40
- package/lordceaser-baileys/.github/workflows/e2e.yml +0 -72
- package/lordceaser-baileys/.github/workflows/lint.yml +0 -40
- package/lordceaser-baileys/.github/workflows/manual-release.yml +0 -49
- package/lordceaser-baileys/.github/workflows/pr-comment.yml +0 -53
- package/lordceaser-baileys/.github/workflows/publish-release.yml +0 -88
- package/lordceaser-baileys/.github/workflows/stale.yml +0 -21
- package/lordceaser-baileys/.github/workflows/test.yml +0 -41
- package/lordceaser-baileys/.github/workflows/update-proto.yml +0 -64
- package/lordceaser-baileys/.github/workflows/update-version.yml +0 -88
- package/lordceaser-baileys/.prettierignore +0 -9
- package/lordceaser-baileys/.prettierrc +0 -11
- package/lordceaser-baileys/.release-it.yml +0 -14
- package/lordceaser-baileys/.yarnrc.yml +0 -1
- package/lordceaser-baileys/AGENTS.md +0 -303
- package/lordceaser-baileys/CHANGELOG.md +0 -4
- package/lordceaser-baileys/CLAUDE.md +0 -9
- package/lordceaser-baileys/CODE_OF_CONDUCT.md +0 -100
- package/lordceaser-baileys/Example/example.ts +0 -235
- package/lordceaser-baileys/LICENSE +0 -21
- package/lordceaser-baileys/Media/cat.jpeg +0 -0
- package/lordceaser-baileys/Media/icon.png +0 -0
- package/lordceaser-baileys/Media/logo.png +0 -0
- package/lordceaser-baileys/Media/ma_gif.mp4 +0 -0
- package/lordceaser-baileys/Media/meme.jpeg +0 -0
- package/lordceaser-baileys/Media/octopus.webp +0 -0
- package/lordceaser-baileys/Media/sonata.mp3 +0 -0
- package/lordceaser-baileys/README.md +0 -899
- package/lordceaser-baileys/SECURITY.md +0 -78
- package/lordceaser-baileys/WABinary/constants.d.ts +0 -27
- package/lordceaser-baileys/WABinary/constants.js +0 -40
- package/lordceaser-baileys/WABinary/decode.d.ts +0 -7
- package/lordceaser-baileys/WABinary/decode.js +0 -254
- package/lordceaser-baileys/WABinary/encode.d.ts +0 -3
- package/lordceaser-baileys/WABinary/encode.js +0 -232
- package/lordceaser-baileys/WABinary/generic-utils.d.ts +0 -15
- package/lordceaser-baileys/WABinary/generic-utils.js +0 -110
- package/lordceaser-baileys/WABinary/index.d.ts +0 -5
- package/lordceaser-baileys/WABinary/index.js +0 -21
- package/lordceaser-baileys/WABinary/jid-utils.d.ts +0 -31
- package/lordceaser-baileys/WABinary/jid-utils.js +0 -62
- package/lordceaser-baileys/WABinary/types.d.ts +0 -18
- package/lordceaser-baileys/WABinary/types.js +0 -2
- package/lordceaser-baileys/WAMessage/BinaryInfo.d.ts +0 -17
- package/lordceaser-baileys/WAMessage/BinaryInfo.js +0 -13
- package/lordceaser-baileys/WAMessage/constants.d.ts +0 -38
- package/lordceaser-baileys/WAMessage/constants.js +0 -15350
- package/lordceaser-baileys/WAMessage/encode.d.ts +0 -3
- package/lordceaser-baileys/WAMessage/encode.js +0 -155
- package/lordceaser-baileys/WAMessage/index.d.ts +0 -3
- package/lordceaser-baileys/WAMessage/index.js +0 -19
- package/lordceaser-baileys/docs/.nojekyll +0 -1
- package/lordceaser-baileys/docs/404.html +0 -16
- package/lordceaser-baileys/docs/index.html +0 -16
- package/lordceaser-baileys/engine-requirements.js +0 -10
- package/lordceaser-baileys/eslint.config.mts +0 -75
- package/lordceaser-baileys/index.js +0 -55
- package/lordceaser-baileys/jest.config.ts +0 -43
- package/lordceaser-baileys/lib/Defaults/baileys-version.json +0 -3
- package/lordceaser-baileys/lib/Defaults/index.d.ts +0 -283
- package/lordceaser-baileys/lib/Defaults/index.js +0 -121
- package/lordceaser-baileys/lib/Defaults/phonenumber-mcc.json +0 -223
- package/lordceaser-baileys/lib/Signal/libsignal.d.ts +0 -3
- package/lordceaser-baileys/lib/Signal/libsignal.js +0 -152
- package/lordceaser-baileys/lib/Socket/Client/abstract-socket-client.d.ts +0 -17
- package/lordceaser-baileys/lib/Socket/Client/abstract-socket-client.js +0 -13
- package/lordceaser-baileys/lib/Socket/Client/index.d.ts +0 -3
- package/lordceaser-baileys/lib/Socket/Client/index.js +0 -19
- package/lordceaser-baileys/lib/Socket/Client/mobile-socket-client.d.ts +0 -13
- package/lordceaser-baileys/lib/Socket/Client/mobile-socket-client.js +0 -65
- package/lordceaser-baileys/lib/Socket/Client/web-socket-client.d.ts +0 -12
- package/lordceaser-baileys/lib/Socket/Client/web-socket-client.js +0 -62
- package/lordceaser-baileys/lib/Socket/business.d.ts +0 -148
- package/lordceaser-baileys/lib/Socket/business.js +0 -260
- package/lordceaser-baileys/lib/Socket/chats.d.ts +0 -83
- package/lordceaser-baileys/lib/Socket/chats.js +0 -879
- package/lordceaser-baileys/lib/Socket/groups.d.ts +0 -123
- package/lordceaser-baileys/lib/Socket/groups.js +0 -314
- package/lordceaser-baileys/lib/Socket/index.d.ts +0 -150
- package/lordceaser-baileys/lib/Socket/index.js +0 -10
- package/lordceaser-baileys/lib/Socket/messages-recv.d.ts +0 -135
- package/lordceaser-baileys/lib/Socket/messages-recv.js +0 -867
- package/lordceaser-baileys/lib/Socket/messages-send.d.ts +0 -128
- package/lordceaser-baileys/lib/Socket/messages-send.js +0 -677
- package/lordceaser-baileys/lib/Socket/registration.d.ts +0 -242
- package/lordceaser-baileys/lib/Socket/registration.js +0 -166
- package/lordceaser-baileys/lib/Socket/socket.d.ts +0 -43
- package/lordceaser-baileys/lib/Socket/socket.js +0 -619
- package/lordceaser-baileys/lib/Store/index.d.ts +0 -3
- package/lordceaser-baileys/lib/Store/index.js +0 -10
- package/lordceaser-baileys/lib/Store/make-cache-manager-store.d.ts +0 -14
- package/lordceaser-baileys/lib/Store/make-cache-manager-store.js +0 -83
- package/lordceaser-baileys/lib/Store/make-in-memory-store.d.ts +0 -118
- package/lordceaser-baileys/lib/Store/make-in-memory-store.js +0 -422
- package/lordceaser-baileys/lib/Store/make-ordered-dictionary.d.ts +0 -13
- package/lordceaser-baileys/lib/Store/make-ordered-dictionary.js +0 -81
- package/lordceaser-baileys/lib/Store/object-repository.d.ts +0 -10
- package/lordceaser-baileys/lib/Store/object-repository.js +0 -27
- package/lordceaser-baileys/lib/Types/Auth.d.ts +0 -110
- package/lordceaser-baileys/lib/Types/Auth.js +0 -2
- package/lordceaser-baileys/lib/Types/Call.d.ts +0 -13
- package/lordceaser-baileys/lib/Types/Call.js +0 -2
- package/lordceaser-baileys/lib/Types/Chat.d.ts +0 -107
- package/lordceaser-baileys/lib/Types/Chat.js +0 -4
- package/lordceaser-baileys/lib/Types/Contact.d.ts +0 -19
- package/lordceaser-baileys/lib/Types/Contact.js +0 -2
- package/lordceaser-baileys/lib/Types/Events.d.ts +0 -172
- package/lordceaser-baileys/lib/Types/Events.js +0 -2
- package/lordceaser-baileys/lib/Types/GroupMetadata.d.ts +0 -56
- package/lordceaser-baileys/lib/Types/GroupMetadata.js +0 -2
- package/lordceaser-baileys/lib/Types/Label.d.ts +0 -46
- package/lordceaser-baileys/lib/Types/Label.js +0 -27
- package/lordceaser-baileys/lib/Types/LabelAssociation.d.ts +0 -29
- package/lordceaser-baileys/lib/Types/LabelAssociation.js +0 -9
- package/lordceaser-baileys/lib/Types/Message.d.ts +0 -268
- package/lordceaser-baileys/lib/Types/Message.js +0 -9
- package/lordceaser-baileys/lib/Types/Product.d.ts +0 -78
- package/lordceaser-baileys/lib/Types/Product.js +0 -2
- package/lordceaser-baileys/lib/Types/Signal.d.ts +0 -57
- package/lordceaser-baileys/lib/Types/Signal.js +0 -2
- package/lordceaser-baileys/lib/Types/Socket.d.ts +0 -116
- package/lordceaser-baileys/lib/Types/Socket.js +0 -2
- package/lordceaser-baileys/lib/Types/State.d.ts +0 -27
- package/lordceaser-baileys/lib/Types/State.js +0 -2
- package/lordceaser-baileys/lib/Types/index.d.ts +0 -63
- package/lordceaser-baileys/lib/Types/index.js +0 -41
- package/lordceaser-baileys/lib/Utils/auth-utils.d.ts +0 -18
- package/lordceaser-baileys/lib/Utils/auth-utils.js +0 -206
- package/lordceaser-baileys/lib/Utils/baileys-event-stream.d.ts +0 -16
- package/lordceaser-baileys/lib/Utils/baileys-event-stream.js +0 -63
- package/lordceaser-baileys/lib/Utils/business.d.ts +0 -22
- package/lordceaser-baileys/lib/Utils/business.js +0 -234
- package/lordceaser-baileys/lib/Utils/chat-utils.d.ts +0 -71
- package/lordceaser-baileys/lib/Utils/chat-utils.js +0 -740
- package/lordceaser-baileys/lib/Utils/crypto.d.ts +0 -41
- package/lordceaser-baileys/lib/Utils/crypto.js +0 -153
- package/lordceaser-baileys/lib/Utils/decode-wa-message.d.ts +0 -20
- package/lordceaser-baileys/lib/Utils/decode-wa-message.js +0 -188
- package/lordceaser-baileys/lib/Utils/event-buffer.d.ts +0 -35
- package/lordceaser-baileys/lib/Utils/event-buffer.js +0 -520
- package/lordceaser-baileys/lib/Utils/generics.d.ts +0 -89
- package/lordceaser-baileys/lib/Utils/generics.js +0 -394
- package/lordceaser-baileys/lib/Utils/history.d.ts +0 -19
- package/lordceaser-baileys/lib/Utils/history.js +0 -94
- package/lordceaser-baileys/lib/Utils/index.d.ts +0 -17
- package/lordceaser-baileys/lib/Utils/index.js +0 -33
- package/lordceaser-baileys/lib/Utils/link-preview.d.ts +0 -21
- package/lordceaser-baileys/lib/Utils/link-preview.js +0 -93
- package/lordceaser-baileys/lib/Utils/logger.d.ts +0 -4
- package/lordceaser-baileys/lib/Utils/logger.js +0 -7
- package/lordceaser-baileys/lib/Utils/lt-hash.d.ts +0 -12
- package/lordceaser-baileys/lib/Utils/lt-hash.js +0 -51
- package/lordceaser-baileys/lib/Utils/make-mutex.d.ts +0 -7
- package/lordceaser-baileys/lib/Utils/make-mutex.js +0 -43
- package/lordceaser-baileys/lib/Utils/messages-media.d.ts +0 -107
- package/lordceaser-baileys/lib/Utils/messages-media.js +0 -674
- package/lordceaser-baileys/lib/Utils/messages.d.ts +0 -77
- package/lordceaser-baileys/lib/Utils/messages.js +0 -758
- package/lordceaser-baileys/lib/Utils/noise-handler.d.ts +0 -21
- package/lordceaser-baileys/lib/Utils/noise-handler.js +0 -155
- package/lordceaser-baileys/lib/Utils/process-message.d.ts +0 -42
- package/lordceaser-baileys/lib/Utils/process-message.js +0 -354
- package/lordceaser-baileys/lib/Utils/signal.d.ts +0 -32
- package/lordceaser-baileys/lib/Utils/signal.js +0 -161
- package/lordceaser-baileys/lib/Utils/use-multi-file-auth-state.d.ts +0 -12
- package/lordceaser-baileys/lib/Utils/use-multi-file-auth-state.js +0 -93
- package/lordceaser-baileys/lib/Utils/validate-connection.d.ts +0 -11
- package/lordceaser-baileys/lib/Utils/validate-connection.js +0 -205
- package/lordceaser-baileys/lib/WABinary/constants.d.ts +0 -27
- package/lordceaser-baileys/lib/WABinary/constants.js +0 -40
- package/lordceaser-baileys/lib/WABinary/decode.d.ts +0 -7
- package/lordceaser-baileys/lib/WABinary/decode.js +0 -254
- package/lordceaser-baileys/lib/WABinary/encode.d.ts +0 -3
- package/lordceaser-baileys/lib/WABinary/encode.js +0 -232
- package/lordceaser-baileys/lib/WABinary/generic-utils.d.ts +0 -15
- package/lordceaser-baileys/lib/WABinary/generic-utils.js +0 -110
- package/lordceaser-baileys/lib/WABinary/index.d.ts +0 -5
- package/lordceaser-baileys/lib/WABinary/index.js +0 -21
- package/lordceaser-baileys/lib/WABinary/jid-utils.d.ts +0 -31
- package/lordceaser-baileys/lib/WABinary/jid-utils.js +0 -62
- package/lordceaser-baileys/lib/WABinary/types.d.ts +0 -18
- package/lordceaser-baileys/lib/WABinary/types.js +0 -2
- package/lordceaser-baileys/lib/WAM/BinaryInfo.d.ts +0 -17
- package/lordceaser-baileys/lib/WAM/BinaryInfo.js +0 -13
- package/lordceaser-baileys/lib/WAM/constants.d.ts +0 -38
- package/lordceaser-baileys/lib/WAM/constants.js +0 -15350
- package/lordceaser-baileys/lib/WAM/encode.d.ts +0 -3
- package/lordceaser-baileys/lib/WAM/encode.js +0 -155
- package/lordceaser-baileys/lib/WAM/index.d.ts +0 -3
- package/lordceaser-baileys/lib/WAM/index.js +0 -19
- package/lordceaser-baileys/lib/index.d.ts +0 -11
- package/lordceaser-baileys/lib/index.js +0 -30
- package/lordceaser-baileys/package.json +0 -49
- package/lordceaser-baileys/proto-extract/README.md +0 -10
- package/lordceaser-baileys/proto-extract/index.js +0 -507
- package/lordceaser-baileys/proto-extract/package-lock.json +0 -511
- package/lordceaser-baileys/proto-extract/package.json +0 -15
- package/lordceaser-baileys/proto-extract/yarn.lock +0 -494
- package/lordceaser-baileys/scripts/update-version.ts +0 -149
- package/lordceaser-baileys/src/Defaults/baileys-version.json +0 -1
- package/lordceaser-baileys/src/Defaults/index.ts +0 -151
- package/lordceaser-baileys/src/Signal/Group/ciphertext-message.ts +0 -9
- package/lordceaser-baileys/src/Signal/Group/group-session-builder.ts +0 -56
- package/lordceaser-baileys/src/Signal/Group/group_cipher.ts +0 -117
- package/lordceaser-baileys/src/Signal/Group/index.ts +0 -11
- package/lordceaser-baileys/src/Signal/Group/keyhelper.ts +0 -28
- package/lordceaser-baileys/src/Signal/Group/sender-chain-key.ts +0 -34
- package/lordceaser-baileys/src/Signal/Group/sender-key-distribution-message.ts +0 -95
- package/lordceaser-baileys/src/Signal/Group/sender-key-message.ts +0 -96
- package/lordceaser-baileys/src/Signal/Group/sender-key-name.ts +0 -66
- package/lordceaser-baileys/src/Signal/Group/sender-key-record.ts +0 -69
- package/lordceaser-baileys/src/Signal/Group/sender-key-state.ts +0 -134
- package/lordceaser-baileys/src/Signal/Group/sender-message-key.ts +0 -36
- package/lordceaser-baileys/src/Signal/libsignal.ts +0 -555
- package/lordceaser-baileys/src/Signal/lid-mapping.ts +0 -335
- package/lordceaser-baileys/src/Socket/Client/index.ts +0 -2
- package/lordceaser-baileys/src/Socket/Client/types.ts +0 -22
- package/lordceaser-baileys/src/Socket/Client/websocket.ts +0 -63
- package/lordceaser-baileys/src/Socket/business.ts +0 -424
- package/lordceaser-baileys/src/Socket/chats.ts +0 -1533
- package/lordceaser-baileys/src/Socket/communities.ts +0 -477
- package/lordceaser-baileys/src/Socket/groups.ts +0 -384
- package/lordceaser-baileys/src/Socket/index.ts +0 -15
- package/lordceaser-baileys/src/Socket/messages-recv.ts +0 -2174
- package/lordceaser-baileys/src/Socket/messages-send.ts +0 -1419
- package/lordceaser-baileys/src/Socket/mex.ts +0 -58
- package/lordceaser-baileys/src/Socket/newsletter.ts +0 -229
- package/lordceaser-baileys/src/Socket/socket.ts +0 -1200
- package/lordceaser-baileys/src/Types/Auth.ts +0 -116
- package/lordceaser-baileys/src/Types/Bussines.ts +0 -20
- package/lordceaser-baileys/src/Types/Call.ts +0 -24
- package/lordceaser-baileys/src/Types/Chat.ts +0 -139
- package/lordceaser-baileys/src/Types/Contact.ts +0 -26
- package/lordceaser-baileys/src/Types/Events.ts +0 -179
- package/lordceaser-baileys/src/Types/GroupMetadata.ts +0 -74
- package/lordceaser-baileys/src/Types/Label.ts +0 -48
- package/lordceaser-baileys/src/Types/LabelAssociation.ts +0 -35
- package/lordceaser-baileys/src/Types/Message.ts +0 -398
- package/lordceaser-baileys/src/Types/Mex.ts +0 -105
- package/lordceaser-baileys/src/Types/Product.ts +0 -85
- package/lordceaser-baileys/src/Types/Signal.ts +0 -85
- package/lordceaser-baileys/src/Types/Socket.ts +0 -153
- package/lordceaser-baileys/src/Types/State.ts +0 -108
- package/lordceaser-baileys/src/Types/USync.ts +0 -27
- package/lordceaser-baileys/src/Types/globals.d.ts +0 -8
- package/lordceaser-baileys/src/Types/index.ts +0 -68
- package/lordceaser-baileys/src/Utils/auth-utils.ts +0 -382
- package/lordceaser-baileys/src/Utils/browser-utils.ts +0 -32
- package/lordceaser-baileys/src/Utils/business.ts +0 -286
- package/lordceaser-baileys/src/Utils/chat-utils.ts +0 -1040
- package/lordceaser-baileys/src/Utils/companion-reg-client-utils.ts +0 -48
- package/lordceaser-baileys/src/Utils/crypto.ts +0 -147
- package/lordceaser-baileys/src/Utils/decode-wa-message.ts +0 -393
- package/lordceaser-baileys/src/Utils/event-buffer.ts +0 -747
- package/lordceaser-baileys/src/Utils/generics.ts +0 -484
- package/lordceaser-baileys/src/Utils/history.ts +0 -162
- package/lordceaser-baileys/src/Utils/identity-change-handler.ts +0 -92
- package/lordceaser-baileys/src/Utils/index.ts +0 -21
- package/lordceaser-baileys/src/Utils/link-preview.ts +0 -111
- package/lordceaser-baileys/src/Utils/logger.ts +0 -13
- package/lordceaser-baileys/src/Utils/lt-hash.ts +0 -8
- package/lordceaser-baileys/src/Utils/make-mutex.ts +0 -42
- package/lordceaser-baileys/src/Utils/message-retry-manager.ts +0 -341
- package/lordceaser-baileys/src/Utils/messages-media.ts +0 -1001
- package/lordceaser-baileys/src/Utils/messages.ts +0 -1124
- package/lordceaser-baileys/src/Utils/noise-handler.ts +0 -268
- package/lordceaser-baileys/src/Utils/offline-node-processor.ts +0 -70
- package/lordceaser-baileys/src/Utils/pre-key-manager.ts +0 -126
- package/lordceaser-baileys/src/Utils/process-message.ts +0 -792
- package/lordceaser-baileys/src/Utils/reporting-utils.ts +0 -344
- package/lordceaser-baileys/src/Utils/signal.ts +0 -261
- package/lordceaser-baileys/src/Utils/stanza-ack.ts +0 -45
- package/lordceaser-baileys/src/Utils/sync-action-utils.ts +0 -75
- package/lordceaser-baileys/src/Utils/tc-token-utils.ts +0 -218
- package/lordceaser-baileys/src/Utils/use-multi-file-auth-state.ts +0 -136
- package/lordceaser-baileys/src/Utils/validate-connection.ts +0 -265
- package/lordceaser-baileys/src/WABinary/constants.ts +0 -1305
- package/lordceaser-baileys/src/WABinary/decode.ts +0 -308
- package/lordceaser-baileys/src/WABinary/encode.ts +0 -258
- package/lordceaser-baileys/src/WABinary/generic-utils.ts +0 -141
- package/lordceaser-baileys/src/WABinary/index.ts +0 -5
- package/lordceaser-baileys/src/WABinary/jid-utils.ts +0 -128
- package/lordceaser-baileys/src/WABinary/types.ts +0 -17
- package/lordceaser-baileys/src/WAM/BinaryInfo.ts +0 -12
- package/lordceaser-baileys/src/WAM/constants.ts +0 -22889
- package/lordceaser-baileys/src/WAM/encode.ts +0 -169
- package/lordceaser-baileys/src/WAM/index.ts +0 -3
- package/lordceaser-baileys/src/WAUSync/Protocols/USyncContactProtocol.ts +0 -58
- package/lordceaser-baileys/src/WAUSync/Protocols/USyncDeviceProtocol.ts +0 -78
- package/lordceaser-baileys/src/WAUSync/Protocols/USyncDisappearingModeProtocol.ts +0 -35
- package/lordceaser-baileys/src/WAUSync/Protocols/USyncStatusProtocol.ts +0 -44
- package/lordceaser-baileys/src/WAUSync/Protocols/USyncUsernameProtocol.ts +0 -28
- package/lordceaser-baileys/src/WAUSync/Protocols/UsyncBotProfileProtocol.ts +0 -76
- package/lordceaser-baileys/src/WAUSync/Protocols/UsyncLIDProtocol.ts +0 -33
- package/lordceaser-baileys/src/WAUSync/Protocols/index.ts +0 -5
- package/lordceaser-baileys/src/WAUSync/USyncQuery.ts +0 -139
- package/lordceaser-baileys/src/WAUSync/USyncUser.ts +0 -44
- package/lordceaser-baileys/src/WAUSync/index.ts +0 -3
- package/lordceaser-baileys/src/__tests__/Signal/Group/sender-key-state-regression.test.ts +0 -22
- package/lordceaser-baileys/src/__tests__/Signal/lid-mapping.test.ts +0 -47
- package/lordceaser-baileys/src/__tests__/Socket/chats.test.ts +0 -29
- package/lordceaser-baileys/src/__tests__/Socket/groups.test.ts +0 -93
- package/lordceaser-baileys/src/__tests__/Socket/identity-change-handling.test.ts +0 -252
- package/lordceaser-baileys/src/__tests__/TestUtils/session.ts +0 -47
- package/lordceaser-baileys/src/__tests__/Utils/app-state-sync-resilience.test.ts +0 -112
- package/lordceaser-baileys/src/__tests__/Utils/app-state-version.test.ts +0 -64
- package/lordceaser-baileys/src/__tests__/Utils/auth-utils.test.ts +0 -37
- package/lordceaser-baileys/src/__tests__/Utils/chat-utils-resilience.test.ts +0 -166
- package/lordceaser-baileys/src/__tests__/Utils/decode-wa-message.test.ts +0 -86
- package/lordceaser-baileys/src/__tests__/Utils/event-buffer.test.ts +0 -154
- package/lordceaser-baileys/src/__tests__/Utils/generics.test.ts +0 -70
- package/lordceaser-baileys/src/__tests__/Utils/history.test.ts +0 -432
- package/lordceaser-baileys/src/__tests__/Utils/lt-hash-generator.test.ts +0 -152
- package/lordceaser-baileys/src/__tests__/Utils/messages-media.test.ts +0 -488
- package/lordceaser-baileys/src/__tests__/Utils/noise-handler.test.ts +0 -339
- package/lordceaser-baileys/src/__tests__/Utils/offline-node-processor.test.ts +0 -318
- package/lordceaser-baileys/src/__tests__/Utils/process-message.test.ts +0 -189
- package/lordceaser-baileys/src/__tests__/Utils/process-sync-action.test.ts +0 -359
- package/lordceaser-baileys/src/__tests__/Utils/reporting-utils.test.ts +0 -160
- package/lordceaser-baileys/src/__tests__/Utils/signal.test.ts +0 -69
- package/lordceaser-baileys/src/__tests__/Utils/stanza-ack.test.ts +0 -420
- package/lordceaser-baileys/src/__tests__/Utils/sync-action-utils.test.ts +0 -183
- package/lordceaser-baileys/src/__tests__/Utils/tc-token.test.ts +0 -1110
- package/lordceaser-baileys/src/__tests__/bigint-validation.test.ts +0 -186
- package/lordceaser-baileys/src/__tests__/binary/connection-deadlock.test.ts +0 -54
- package/lordceaser-baileys/src/__tests__/binary/reconnection-sync-skip.test.ts +0 -86
- package/lordceaser-baileys/src/__tests__/e2e/fetch-wa-web-version.test-e2e.ts +0 -60
- package/lordceaser-baileys/src/__tests__/e2e/groups.test-e2e.ts +0 -113
- package/lordceaser-baileys/src/__tests__/e2e/helpers/mock-phone.ts +0 -41
- package/lordceaser-baileys/src/__tests__/e2e/helpers/test-client.ts +0 -302
- package/lordceaser-baileys/src/__tests__/e2e/messaging.test-e2e.ts +0 -67
- package/lordceaser-baileys/src/__tests__/e2e/send-receive-message.test-e2e.ts +0 -259
- package/lordceaser-baileys/src/__tests__/proto-tojson-long.test.ts +0 -115
- package/lordceaser-baileys/src/index.ts +0 -13
- package/lordceaser-baileys/tsconfig.build.json +0 -12
- package/lordceaser-baileys/tsconfig.json +0 -39
- package/lordceaser-baileys/typedoc.json +0 -13
- package/lordceaser-baileys/yarn.lock +0 -8832
package/index.js
CHANGED
|
@@ -1,417 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
const axios = require("axios");
|
|
10
|
-
const path = require("path");
|
|
11
|
-
const fs = require("fs");
|
|
12
|
-
const pino = require("pino");
|
|
13
|
-
require("dotenv").config();
|
|
14
|
-
|
|
15
|
-
const readline = require("readline");
|
|
16
|
-
|
|
17
|
-
const BOT_NAME = "C⁴ SOCIETY MD";
|
|
18
|
-
const DEVELOPER = "¿[ℓσя∂ ƒαмσυѕ тнє ƒαтнєя σƒ ∂υαℓ gσ∂ѕ]?[⁰⁰¹] σƒ C⁴";
|
|
19
|
-
const CREATOR = "+2348058314787";
|
|
20
|
-
|
|
21
|
-
function getOwnerNumber() {
|
|
22
|
-
return (process.env.OWNER_NUMBER || "").replace(/\D/g, "").replace(/^0+/, "");
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
const MENU_IMAGE = path.join(__dirname, "assets", "menu.jpg");
|
|
26
|
-
|
|
27
|
-
// ---------- Access control ----------
|
|
28
|
-
let privateMode = "public";
|
|
29
|
-
const whitelist = new Set();
|
|
30
|
-
|
|
31
|
-
function normalize(jid) { return jid.replace(/[^0-9]/g, ""); }
|
|
32
|
-
|
|
33
|
-
function canUseBot(senderJid, ownerJid) {
|
|
34
|
-
if (senderJid === ownerJid) return true;
|
|
35
|
-
if (privateMode === "public") return true;
|
|
36
|
-
if (privateMode === "self") return false;
|
|
37
|
-
if (privateMode === "whitelist") return whitelist.has(normalize(senderJid));
|
|
38
|
-
return false;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
// ---------- Content ----------
|
|
42
|
-
const JOKES = [
|
|
43
|
-
"Why do programmers prefer dark mode? Because light attracts bugs.",
|
|
44
|
-
"I told my computer I needed a break — it said no problem, it'll go to sleep too.",
|
|
45
|
-
"There are 10 types of people: those who understand binary, and those who don't.",
|
|
46
|
-
];
|
|
47
|
-
const QUOTES = [
|
|
48
|
-
'"The only way to do great work is to love what you do." — Steve Jobs',
|
|
49
|
-
'"Success is not final, failure is not fatal." — Winston Churchill',
|
|
50
|
-
'"Stay hungry, stay foolish." — Steve Jobs',
|
|
51
|
-
];
|
|
52
|
-
const FAQ = {
|
|
53
|
-
hours: "We're available 9 AM – 6 PM, Monday to Saturday.",
|
|
54
|
-
pricing: "Please tell us what product/service you're asking about.",
|
|
55
|
-
contact: "Reply here and our support team will get back to you ASAP.",
|
|
56
|
-
location: "We're online-only — no physical location.",
|
|
57
|
-
};
|
|
58
|
-
|
|
59
|
-
function pickRandom(arr) { return arr[Math.floor(Math.random() * arr.length)]; }
|
|
60
|
-
|
|
61
|
-
function helpText() {
|
|
62
|
-
return (
|
|
63
|
-
`*${BOT_NAME}*\n` +
|
|
64
|
-
`Developer: ${DEVELOPER}\n` +
|
|
65
|
-
`Creator: ${CREATOR}\n\n` +
|
|
66
|
-
"*Commands (everyone):*\n" +
|
|
67
|
-
"!help — show this menu\n" +
|
|
68
|
-
"!joke — random joke\n" +
|
|
69
|
-
"!quote — random quote\n" +
|
|
70
|
-
"!roll — roll a dice (1–6)\n" +
|
|
71
|
-
"!flip — flip a coin\n" +
|
|
72
|
-
"!faq hours / pricing / contact / location\n" +
|
|
73
|
-
"!ai <question> — ask the AI assistant\n" +
|
|
74
|
-
"Send image with caption *!sticker* to convert it\n\n" +
|
|
75
|
-
"*Download commands:*\n" +
|
|
76
|
-
"!ytmp3 <url> — download YouTube audio (mp3)\n" +
|
|
77
|
-
"!ytmp4 <url> — download YouTube video (mp4)\n" +
|
|
78
|
-
"!tiktok <url> — download TikTok video (no watermark)\n" +
|
|
79
|
-
"!ig <url> — download Instagram video/photo\n" +
|
|
80
|
-
"!fb <url> — download Facebook video\n\n" +
|
|
81
|
-
"*Group commands (admin only):*\n" +
|
|
82
|
-
"!tag <message> — mention every member\n" +
|
|
83
|
-
"!kick — reply to a member's msg to kick them\n" +
|
|
84
|
-
"!welcome on / off — toggle welcome message\n\n" +
|
|
85
|
-
"*Owner only:*\n" +
|
|
86
|
-
"!self — lock bot to owner only\n" +
|
|
87
|
-
"!self off — unlock back to public\n" +
|
|
88
|
-
"!whitelist add 234... — whitelist a number\n" +
|
|
89
|
-
"!whitelist remove 234... — remove a number\n" +
|
|
90
|
-
"!whitelist list — show whitelisted numbers\n" +
|
|
91
|
-
"!whitelist on / off — toggle whitelist mode\n\n" +
|
|
92
|
-
`*Current mode:* ${privateMode}`
|
|
93
|
-
);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
async function askAI(prompt) {
|
|
97
|
-
try {
|
|
98
|
-
const res = await axios.post(
|
|
99
|
-
"https://api.openai.com/v1/chat/completions",
|
|
100
|
-
{ model: "gpt-4o-mini", messages: [{ role: "user", content: prompt }] },
|
|
101
|
-
{ headers: { Authorization: `Bearer ${process.env.AI_API_KEY}`, "Content-Type": "application/json" } }
|
|
102
|
-
);
|
|
103
|
-
return res.data.choices[0].message.content;
|
|
104
|
-
} catch (err) {
|
|
105
|
-
return "Sorry, couldn't reach the AI service right now.";
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
// ---------- Downloader functions ----------
|
|
110
|
-
|
|
111
|
-
async function downloadYT(url, type) {
|
|
112
|
-
try {
|
|
113
|
-
const api = `https://api.ryzendesu.vip/api/downloader/${type === "mp3" ? "ytmp3" : "ytmp4"}?url=${encodeURIComponent(url)}`;
|
|
114
|
-
const res = await axios.get(api, { timeout: 30000 });
|
|
115
|
-
return res.data?.url || res.data?.link || res.data?.download || null;
|
|
116
|
-
} catch (err) {
|
|
117
|
-
return null;
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
async function downloadTikTok(url) {
|
|
122
|
-
try {
|
|
123
|
-
const res = await axios.get(`https://api.ryzendesu.vip/api/downloader/ttdl?url=${encodeURIComponent(url)}`, { timeout: 30000 });
|
|
124
|
-
return res.data?.video || res.data?.url || null;
|
|
125
|
-
} catch (err) {
|
|
126
|
-
return null;
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
async function downloadIG(url) {
|
|
131
|
-
try {
|
|
132
|
-
const res = await axios.get(`https://api.ryzendesu.vip/api/downloader/igdl?url=${encodeURIComponent(url)}`, { timeout: 30000 });
|
|
133
|
-
const items = res.data?.data || res.data?.result || [];
|
|
134
|
-
return items[0]?.url || null;
|
|
135
|
-
} catch (err) {
|
|
136
|
-
return null;
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
async function downloadFB(url) {
|
|
141
|
-
try {
|
|
142
|
-
const res = await axios.get(`https://api.ryzendesu.vip/api/downloader/fbdl?url=${encodeURIComponent(url)}`, { timeout: 30000 });
|
|
143
|
-
return res.data?.hd || res.data?.sd || res.data?.url || null;
|
|
144
|
-
} catch (err) {
|
|
145
|
-
return null;
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
async function sendDownload(sock, from, msg, downloadUrl, type, caption) {
|
|
150
|
-
try {
|
|
151
|
-
const response = await axios.get(downloadUrl, { responseType: "arraybuffer", timeout: 60000 });
|
|
152
|
-
const buffer = Buffer.from(response.data);
|
|
153
|
-
if (type === "audio") {
|
|
154
|
-
await sock.sendMessage(from, { audio: buffer, mimetype: "audio/mp4", fileName: "audio.mp3" }, { quoted: msg });
|
|
155
|
-
} else {
|
|
156
|
-
await sock.sendMessage(from, { video: buffer, caption }, { quoted: msg });
|
|
157
|
-
}
|
|
158
|
-
} catch (err) {
|
|
159
|
-
await sock.sendMessage(from, { text: "❌ Failed to send file. The file may be too large or the link expired." }, { quoted: msg });
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
const welcomeSettings = new Map();
|
|
164
|
-
|
|
165
|
-
// ---------- Main ----------
|
|
166
|
-
async function startBot() {
|
|
167
|
-
const { state, saveCreds } = await useMultiFileAuthState("auth_info");
|
|
168
|
-
const { version } = await fetchLatestBaileysVersion();
|
|
169
|
-
|
|
170
|
-
// Always ask for the number to pair
|
|
171
|
-
const rl = readline.createInterface({ input: process.stdin, output: process.stdout });
|
|
172
|
-
const phoneNumber = await new Promise((resolve) => {
|
|
173
|
-
rl.question("\n📱 Enter the WhatsApp number to link (with country code, no + sign):\n> ", (ans) => {
|
|
174
|
-
rl.close();
|
|
175
|
-
resolve(ans.replace(/\D/g, "").replace(/^0+/, ""));
|
|
176
|
-
});
|
|
177
|
-
});
|
|
178
|
-
|
|
179
|
-
const OWNER_JID = (process.env.OWNER_NUMBER || phoneNumber).replace(/\D/g, "") + "@s.whatsapp.net";
|
|
180
|
-
console.log(`\n✅ Linking number: ${phoneNumber}`);
|
|
181
|
-
|
|
182
|
-
const sock = makeWASocket({
|
|
183
|
-
version,
|
|
184
|
-
auth: state,
|
|
185
|
-
logger: pino({ level: "silent" }),
|
|
186
|
-
printQRInTerminal: false,
|
|
187
|
-
browser: ["C⁴ SOCIETY MD", "Chrome", "1.0.0"],
|
|
188
|
-
syncFullHistory: false,
|
|
189
|
-
markOnlineOnConnect: false,
|
|
190
|
-
});
|
|
191
|
-
|
|
192
|
-
// ---- PAIRING CODE ----
|
|
193
|
-
if (!sock.authState.creds.registered) {
|
|
194
|
-
console.log(`\n⏳ Requesting pairing code for: ${phoneNumber} ...\n`);
|
|
195
|
-
setTimeout(async () => {
|
|
196
|
-
try {
|
|
197
|
-
const code = await sock.requestPairingCode(phoneNumber);
|
|
198
|
-
const formatted = code.match(/.{1,4}/g)?.join("-") || code;
|
|
199
|
-
console.log("\n╔══════════════════════════════════════╗");
|
|
200
|
-
console.log("║ C⁴ SOCIETY MD — PAIRING ║");
|
|
201
|
-
console.log("╠══════════════════════════════════════╣");
|
|
202
|
-
console.log(`║ Code: ${formatted.padEnd(30)}║`);
|
|
203
|
-
console.log("╠══════════════════════════════════════╣");
|
|
204
|
-
console.log("║ Steps: ║");
|
|
205
|
-
console.log("║ 1. Open WhatsApp on your phone ║");
|
|
206
|
-
console.log("║ 2. Go to Linked Devices ║");
|
|
207
|
-
console.log("║ 3. Tap Link a Device ║");
|
|
208
|
-
console.log("║ 4. Tap Link with phone number ║");
|
|
209
|
-
console.log("║ 5. Enter the code above QUICKLY ║");
|
|
210
|
-
console.log("║ (code expires in 60 seconds) ║");
|
|
211
|
-
console.log("╚══════════════════════════════════════╝\n");
|
|
212
|
-
} catch (err) {
|
|
213
|
-
console.error("❌ Pairing code error:", err.message);
|
|
214
|
-
console.log("➡ Delete the auth_info folder and restart");
|
|
215
|
-
console.log("➡ Make sure the number has country code, no + sign");
|
|
216
|
-
console.log("➡ Example: 2348058314787");
|
|
217
|
-
}
|
|
218
|
-
}, 5000);
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
sock.ev.on("creds.update", saveCreds);
|
|
222
|
-
|
|
223
|
-
sock.ev.on("connection.update", ({ connection, lastDisconnect }) => {
|
|
224
|
-
if (connection === "close") {
|
|
225
|
-
const shouldReconnect = new Boom(lastDisconnect?.error)?.output?.statusCode !== DisconnectReason.loggedOut;
|
|
226
|
-
console.log("Connection closed. Reconnecting:", shouldReconnect);
|
|
227
|
-
if (shouldReconnect) startBot();
|
|
228
|
-
} else if (connection === "open") {
|
|
229
|
-
console.log(`✅ ${BOT_NAME} connected successfully!`);
|
|
230
|
-
}
|
|
231
|
-
});
|
|
232
|
-
|
|
233
|
-
sock.ev.on("group-participants.update", async ({ id, participants, action }) => {
|
|
234
|
-
if (action !== "add") return;
|
|
235
|
-
if (!(welcomeSettings.get(id) ?? true)) return;
|
|
236
|
-
const groupMeta = await sock.groupMetadata(id);
|
|
237
|
-
for (const participant of participants) {
|
|
238
|
-
await sock.sendMessage(id, {
|
|
239
|
-
text: `👋 Welcome @${participant.split("@")[0]} to *${groupMeta.subject}*!`,
|
|
240
|
-
mentions: [participant],
|
|
241
|
-
});
|
|
242
|
-
}
|
|
243
|
-
});
|
|
244
|
-
|
|
245
|
-
sock.ev.on("messages.upsert", async ({ messages, type }) => {
|
|
246
|
-
if (type !== "notify") return;
|
|
247
|
-
const msg = messages[0];
|
|
248
|
-
if (!msg.message || msg.key.fromMe) return;
|
|
249
|
-
|
|
250
|
-
const from = msg.key.remoteJid;
|
|
251
|
-
const sender = msg.key.participant || msg.key.remoteJid;
|
|
252
|
-
const isGroup = from.endsWith("@g.us");
|
|
253
|
-
const isOwner = sender === OWNER_NUMBER;
|
|
254
|
-
const body = msg.message?.conversation || msg.message?.extendedTextMessage?.text || "";
|
|
255
|
-
const text = body.trim();
|
|
256
|
-
const lower = text.toLowerCase();
|
|
257
|
-
const imageMsg = msg.message?.imageMessage;
|
|
258
|
-
|
|
259
|
-
const reply = (text) => sock.sendMessage(from, { text }, { quoted: msg });
|
|
260
|
-
|
|
261
|
-
// Access control for private chats
|
|
262
|
-
if (!isGroup && !canUseBot(sender)) {
|
|
263
|
-
return reply(
|
|
264
|
-
privateMode === "self"
|
|
265
|
-
? "🔒 Bot is in *self mode* — only the owner can use it."
|
|
266
|
-
: "🔒 Your number is not whitelisted to use this bot."
|
|
267
|
-
);
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
// Sticker from image
|
|
271
|
-
if (imageMsg && imageMsg.caption?.trim().toLowerCase() === "!sticker") {
|
|
272
|
-
const buffer = await sock.downloadMediaMessage(msg);
|
|
273
|
-
await sock.sendMessage(from, { sticker: buffer }, { quoted: msg });
|
|
274
|
-
return;
|
|
275
|
-
}
|
|
276
|
-
|
|
277
|
-
// Help with image
|
|
278
|
-
if (lower === "!help") {
|
|
279
|
-
const imageBuffer = fs.readFileSync(MENU_IMAGE);
|
|
280
|
-
await sock.sendMessage(from, { image: imageBuffer, caption: helpText() });
|
|
281
|
-
return;
|
|
282
|
-
}
|
|
283
|
-
|
|
284
|
-
// Fun commands
|
|
285
|
-
if (lower === "!joke") return reply(pickRandom(JOKES));
|
|
286
|
-
if (lower === "!quote") return reply(pickRandom(QUOTES));
|
|
287
|
-
if (lower === "!roll") return reply(`🎲 You rolled a ${1 + Math.floor(Math.random() * 6)}`);
|
|
288
|
-
if (lower === "!flip") return reply(`🪙 ${Math.random() < 0.5 ? "Heads" : "Tails"}`);
|
|
289
|
-
|
|
290
|
-
if (lower.startsWith("!faq")) {
|
|
291
|
-
const topic = lower.replace("!faq", "").trim();
|
|
292
|
-
return reply(FAQ[topic] || `Available topics: ${Object.keys(FAQ).join(", ")}\nUse: !faq <topic>`);
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
if (lower.startsWith("!ai ")) {
|
|
296
|
-
return reply(await askAI(text.slice(4).trim()));
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
// ---------- Download commands ----------
|
|
300
|
-
if (lower.startsWith("!ytmp3 ")) {
|
|
301
|
-
const url = text.slice(7).trim();
|
|
302
|
-
if (!url) return reply("Usage: !ytmp3 <YouTube URL>");
|
|
303
|
-
await reply("⏳ Downloading audio, please wait...");
|
|
304
|
-
const dlUrl = await downloadYT(url, "mp3");
|
|
305
|
-
if (!dlUrl) return reply("❌ Couldn't download. Check the URL and try again.");
|
|
306
|
-
return sendDownload(sock, from, msg, dlUrl, "audio", "🎵 Here's your audio!");
|
|
307
|
-
}
|
|
308
|
-
if (lower.startsWith("!ytmp4 ")) {
|
|
309
|
-
const url = text.slice(7).trim();
|
|
310
|
-
if (!url) return reply("Usage: !ytmp4 <YouTube URL>");
|
|
311
|
-
await reply("⏳ Downloading video, please wait...");
|
|
312
|
-
const dlUrl = await downloadYT(url, "mp4");
|
|
313
|
-
if (!dlUrl) return reply("❌ Couldn't download. Check the URL and try again.");
|
|
314
|
-
return sendDownload(sock, from, msg, dlUrl, "video", "🎬 Here's your video!");
|
|
315
|
-
}
|
|
316
|
-
if (lower.startsWith("!tiktok ")) {
|
|
317
|
-
const url = text.slice(8).trim();
|
|
318
|
-
if (!url) return reply("Usage: !tiktok <TikTok URL>");
|
|
319
|
-
await reply("⏳ Downloading TikTok video...");
|
|
320
|
-
const dlUrl = await downloadTikTok(url);
|
|
321
|
-
if (!dlUrl) return reply("❌ Couldn't download. Check the URL and try again.");
|
|
322
|
-
return sendDownload(sock, from, msg, dlUrl, "video", "🎵 Here's your TikTok!");
|
|
323
|
-
}
|
|
324
|
-
if (lower.startsWith("!ig ")) {
|
|
325
|
-
const url = text.slice(4).trim();
|
|
326
|
-
if (!url) return reply("Usage: !ig <Instagram URL>");
|
|
327
|
-
await reply("⏳ Downloading Instagram media...");
|
|
328
|
-
const dlUrl = await downloadIG(url);
|
|
329
|
-
if (!dlUrl) return reply("❌ Couldn't download. Make sure the post is public.");
|
|
330
|
-
return sendDownload(sock, from, msg, dlUrl, "video", "📸 Here's your Instagram media!");
|
|
331
|
-
}
|
|
332
|
-
if (lower.startsWith("!fb ")) {
|
|
333
|
-
const url = text.slice(4).trim();
|
|
334
|
-
if (!url) return reply("Usage: !fb <Facebook URL>");
|
|
335
|
-
await reply("⏳ Downloading Facebook video...");
|
|
336
|
-
const dlUrl = await downloadFB(url);
|
|
337
|
-
if (!dlUrl) return reply("❌ Couldn't download. Make sure the video is public.");
|
|
338
|
-
return sendDownload(sock, from, msg, dlUrl, "video", "📘 Here's your Facebook video!");
|
|
339
|
-
}
|
|
340
|
-
|
|
341
|
-
// Owner: !self
|
|
342
|
-
if (lower === "!self") {
|
|
343
|
-
if (!isOwner) return reply("⛔ Only the owner can use this command.");
|
|
344
|
-
privateMode = "self";
|
|
345
|
-
return reply("🔒 *Self mode ON* — only you can use the bot in private chats.");
|
|
346
|
-
}
|
|
347
|
-
if (lower === "!self off") {
|
|
348
|
-
if (!isOwner) return reply("⛔ Only the owner can use this command.");
|
|
349
|
-
privateMode = "public";
|
|
350
|
-
return reply("🔓 *Self mode OFF* — bot is public again.");
|
|
351
|
-
}
|
|
352
|
-
|
|
353
|
-
// Owner: !whitelist
|
|
354
|
-
if (lower.startsWith("!whitelist")) {
|
|
355
|
-
if (!isOwner) return reply("⛔ Only the owner can manage the whitelist.");
|
|
356
|
-
const args = text.slice(10).trim().split(/\s+/);
|
|
357
|
-
const action = args[0];
|
|
358
|
-
const numArg = args[1] ? normalize(args[1]) : null;
|
|
359
|
-
|
|
360
|
-
if (action === "on") { privateMode = "whitelist"; return reply("✅ *Whitelist mode ON.*"); }
|
|
361
|
-
if (action === "off") { privateMode = "public"; return reply("🔓 *Whitelist mode OFF.*"); }
|
|
362
|
-
if (action === "add" && numArg) {
|
|
363
|
-
whitelist.add(numArg);
|
|
364
|
-
privateMode = "whitelist";
|
|
365
|
-
return reply(`✅ *${numArg}* added to whitelist.\nWhitelist mode is now ON.`);
|
|
366
|
-
}
|
|
367
|
-
if (action === "remove" && numArg) {
|
|
368
|
-
whitelist.delete(numArg);
|
|
369
|
-
return reply(`✅ *${numArg}* removed from whitelist.`);
|
|
370
|
-
}
|
|
371
|
-
if (action === "list") {
|
|
372
|
-
return reply(whitelist.size === 0 ? "📋 Whitelist is empty." : `📋 *Whitelisted:*\n${[...whitelist].join("\n")}`);
|
|
373
|
-
}
|
|
374
|
-
return reply("Usage:\n!whitelist add 234...\n!whitelist remove 234...\n!whitelist list\n!whitelist on\n!whitelist off");
|
|
375
|
-
}
|
|
376
|
-
|
|
377
|
-
// Group admin commands
|
|
378
|
-
if (isGroup) {
|
|
379
|
-
const groupMeta = await sock.groupMetadata(from);
|
|
380
|
-
const isAdmin = groupMeta.participants.find(p => p.id === sender)?.admin != null;
|
|
381
|
-
|
|
382
|
-
if (lower.startsWith("!tag")) {
|
|
383
|
-
if (!isAdmin) return reply("Only group admins can use !tag.");
|
|
384
|
-
const tagMsg = text.slice(4).trim() || "📢 Attention everyone!";
|
|
385
|
-
const mentions = groupMeta.participants.map(p => p.id);
|
|
386
|
-
return sock.sendMessage(from, { text: tagMsg, mentions });
|
|
387
|
-
}
|
|
388
|
-
|
|
389
|
-
if (lower === "!kick") {
|
|
390
|
-
if (!isAdmin) return reply("Only group admins can use !kick.");
|
|
391
|
-
const quoted = msg.message?.extendedTextMessage?.contextInfo?.participant;
|
|
392
|
-
if (!quoted) return reply("Reply to a member's message with !kick to remove them.");
|
|
393
|
-
try {
|
|
394
|
-
await sock.groupParticipantsUpdate(from, [quoted], "remove");
|
|
395
|
-
return reply("✅ Member removed.");
|
|
396
|
-
} catch {
|
|
397
|
-
return reply("Couldn't remove — make sure I'm an admin in this group.");
|
|
398
|
-
}
|
|
399
|
-
}
|
|
400
|
-
|
|
401
|
-
if (lower.startsWith("!welcome")) {
|
|
402
|
-
if (!isAdmin) return reply("Only group admins can change this setting.");
|
|
403
|
-
const setting = lower.replace("!welcome", "").trim();
|
|
404
|
-
if (setting === "on") { welcomeSettings.set(from, true); return reply("✅ Welcome messages ON."); }
|
|
405
|
-
if (setting === "off") { welcomeSettings.set(from, false); return reply("✅ Welcome messages OFF."); }
|
|
406
|
-
return reply("Use: !welcome on or !welcome off");
|
|
407
|
-
}
|
|
408
|
-
}
|
|
409
|
-
|
|
410
|
-
// Default auto-reply
|
|
411
|
-
if (!text.startsWith("!")) {
|
|
412
|
-
return reply(`Thanks for your message! This is *${BOT_NAME}* 🤖\nSend *!help* to see what I can do.`);
|
|
413
|
-
}
|
|
414
|
-
});
|
|
415
|
-
}
|
|
416
|
-
|
|
417
|
-
startBot();
|
|
1
|
+
console.log('⚡ CEASER v2.0.46 FINAL - CJS 160 files - FIXED ⚡');
|
|
2
|
+
let lib = require('./lib');
|
|
3
|
+
const make = lib.default || lib.makeWASocket || lib;
|
|
4
|
+
function patch(s){ if(!s||s._p) return s; const o=s.sendMessage.bind(s); s.sendMessage=async(j,c,op)=>o(j,c,op); s._p=true; return s; }
|
|
5
|
+
function makeFixed(...a){ return patch(make(...a)) }
|
|
6
|
+
if(lib.default) lib.default=makeFixed;
|
|
7
|
+
if(lib.makeWASocket) lib.makeWASocket=makeFixed;
|
|
8
|
+
module.exports={...lib, makeWASocket: makeFixed, default: makeFixed, CEASER:true, version:'2.0.46'};
|
package/package.json
CHANGED
|
@@ -1,24 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lordceaser-baileys",
|
|
3
|
-
"version": "2.0.
|
|
4
|
-
"description": "CEASER - Premium WhatsApp engine v2.0.35 PERFECT RESTORED 180 files - Same as 2.0.22-2.0.26 perfect - All button types + ping media + group responding + Pterodactyl fixed",
|
|
3
|
+
"version": "2.0.46",
|
|
5
4
|
"main": "index.js",
|
|
6
5
|
"type": "commonjs",
|
|
7
|
-
"
|
|
8
|
-
"author": "Lord Ceaser Himself",
|
|
9
|
-
"keywords": [
|
|
10
|
-
"whatsapp",
|
|
11
|
-
"baileys",
|
|
12
|
-
"ceaser",
|
|
13
|
-
"bot"
|
|
14
|
-
],
|
|
6
|
+
"files": ["lib/","WAProto/","index.js"],
|
|
15
7
|
"dependencies": {
|
|
16
8
|
"@adiwajshing/keyed-db": "^0.2.4",
|
|
17
|
-
"@cacheable/node-cache": "^1.1.4",
|
|
18
9
|
"@hapi/boom": "^9.1.4",
|
|
19
10
|
"async-mutex": "^0.4.0",
|
|
20
|
-
"
|
|
21
|
-
"
|
|
11
|
+
"axios": "^1.6.0",
|
|
12
|
+
"futoin-hkdf": "^1.5.1",
|
|
13
|
+
"jimp": "^0.22.10",
|
|
22
14
|
"libsignal": "^2.0.1",
|
|
23
15
|
"long": "^5.2.3",
|
|
24
16
|
"lru-cache": "^7.18.3",
|
|
@@ -27,8 +19,6 @@
|
|
|
27
19
|
"pino": "^8.17.2",
|
|
28
20
|
"protobufjs": "^7.2.5",
|
|
29
21
|
"ws": "^8.14.2",
|
|
30
|
-
"qrcode-terminal": "^0.12.0"
|
|
31
|
-
"lodash": "^4.17.21",
|
|
32
|
-
"mysql2": "^3.9.7"
|
|
22
|
+
"qrcode-terminal": "^0.12.0"
|
|
33
23
|
}
|
|
34
24
|
}
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
### This is a `.properties` [https://en.wikipedia.org/wiki/.properties] file
|
|
2
|
-
### for termux app properties and is loaded with the `java.util.Properties.load()`
|
|
3
|
-
### [https://developer.android.com/reference/java/util/Properties#load(java.io.Reader)]
|
|
4
|
-
### call by the termux app and must be formatted as per its spec.
|
|
5
|
-
### To make changes to a property value, uncomment the property line by removing
|
|
6
|
-
### any hash `#` characters at the start of the line.
|
|
7
|
-
### After making required changes, save the file and run `termux-reload-settings`
|
|
8
|
-
### in the terminal for changes to take effect. Some properties require app
|
|
9
|
-
### process to be restarted to be updated which can be done by force stopping
|
|
10
|
-
### the app from Android app settings.
|
|
11
|
-
### All information here can also be found on the
|
|
12
|
-
### wiki: https://wiki.termux.com/wiki/Terminal_Settings
|
|
13
|
-
|
|
14
|
-
###############
|
|
15
|
-
# Extra keys
|
|
16
|
-
###############
|
|
17
|
-
|
|
18
|
-
### Settings for choosing which set of symbols to use for illustrating keys.
|
|
19
|
-
### Choose between default, arrows-only, arrows-all, all and none
|
|
20
|
-
# extra-keys-style = default
|
|
21
|
-
|
|
22
|
-
### Force capitalize all text in extra keys row button labels.
|
|
23
|
-
# extra-keys-text-all-caps = true
|
|
24
|
-
|
|
25
|
-
### Default extra-key configuration
|
|
26
|
-
# extra-keys = [[ESC, TAB, CTRL, ALT, {key: '-', popup: '|'}, DOWN, UP]]
|
|
27
|
-
|
|
28
|
-
### Two rows with more keys
|
|
29
|
-
# extra-keys = [['ESC','/','-','HOME','UP','END','PGUP'], \
|
|
30
|
-
# ['TAB','CTRL','ALT','LEFT','DOWN','RIGHT','PGDN']]
|
|
31
|
-
|
|
32
|
-
### Configuration with additional popup keys (swipe up from an extra key)
|
|
33
|
-
# extra-keys = [[ \
|
|
34
|
-
# {key: ESC, popup: {macro: "CTRL f d", display: "tmux exit"}}, \
|
|
35
|
-
# {key: CTRL, popup: {macro: "CTRL f BKSP", display: "tmux ←"}}, \
|
|
36
|
-
# {key: ALT, popup: {macro: "CTRL f TAB", display: "tmux →"}}, \
|
|
37
|
-
# {key: TAB, popup: {macro: "ALT a", display: A-a}}, \
|
|
38
|
-
# {key: LEFT, popup: HOME}, \
|
|
39
|
-
# {key: DOWN, popup: PGDN}, \
|
|
40
|
-
# {key: UP, popup: PGUP}, \
|
|
41
|
-
# {key: RIGHT, popup: END}, \
|
|
42
|
-
# {macro: "ALT j", display: A-j, popup: {macro: "ALT g", display: A-g}}, \
|
|
43
|
-
# {key: KEYBOARD, popup: {macro: "CTRL d", display: exit}} \
|
|
44
|
-
# ]]
|
|
45
|
-
|
|
46
|
-
### Another configuration with advanced popup key usage designed for more
|
|
47
|
-
### specific use-cases. In this case, it is designed for working with Vim-like
|
|
48
|
-
### editors for faster navigation
|
|
49
|
-
#extra-keys = [ \
|
|
50
|
-
# [ \
|
|
51
|
-
# { key: ESC, popup: { macro: ":q\n", display: "QuickExit" } }, \
|
|
52
|
-
# { key: '/', popup: '\\\\' }, \
|
|
53
|
-
# { key: '-', popup: '_' }, \
|
|
54
|
-
# { key: HOME, popup: { macro: "CTRL HOME", display: "Top" } }, \
|
|
55
|
-
# { key: UP, popup: { macro: "CTRL UP", display: "UP" } }, \
|
|
56
|
-
# { key: END, popup: { macro: "CTRL END", display: "End" } }, \
|
|
57
|
-
# { key: ":", popup: ";" }, \
|
|
58
|
-
# { key: "(", popup: "{" } \
|
|
59
|
-
# ], \
|
|
60
|
-
# [ \
|
|
61
|
-
# { key: TAB, popup: { macro: ":wq\n", display: "Write And Exit" } }, \
|
|
62
|
-
# { key: CTRL, popup: { macro: ":w\n", display: "Write" } }, \
|
|
63
|
-
# ALT, \
|
|
64
|
-
# { key: LEFT, popup: { macro: "CTRL LEFT", display: "Left" } }, \
|
|
65
|
-
# { key: DOWN, popup: { macro: "CTRL DOWN", display: "Bottom" } }, \
|
|
66
|
-
# { key: RIGHT, popup: { macro: "CTRL RIGHT", display: "Right" } }, \
|
|
67
|
-
# { key: "#", popup: "$" }, \
|
|
68
|
-
# { key: ")", popup: "}" } \
|
|
69
|
-
# ] \
|
|
70
|
-
#]
|
|
71
|
-
|
|
72
|
-
###############
|
|
73
|
-
# Bell key
|
|
74
|
-
###############
|
|
75
|
-
|
|
76
|
-
### Vibrate device (default).
|
|
77
|
-
# bell-character = vibrate
|
|
78
|
-
|
|
79
|
-
### Beep with a sound.
|
|
80
|
-
# bell-character = beep
|
|
81
|
-
|
|
82
|
-
### Ignore bell character.
|
|
83
|
-
# bell-character = ignore
|
|
84
|
-
|
|
85
|
-
###############
|
|
86
|
-
# Back key
|
|
87
|
-
###############
|
|
88
|
-
|
|
89
|
-
### Send the Escape key.
|
|
90
|
-
# back-key=escape
|
|
91
|
-
|
|
92
|
-
### Hide keyboard or leave app (default).
|
|
93
|
-
# back-key=back
|
|
Binary file
|
|
Binary file
|
|
Binary file
|