From 07d57a87dab396958d36c9aa33e8ab11a6825b45 Mon Sep 17 00:00:00 2001 From: Evabot Date: Thu, 10 Apr 2025 13:40:49 +0100 Subject: [PATCH 01/60] Update and rename account.txt to account.dev.txt --- account.dev.txt | 129 ++++++++++++++++++++++++++++++++++++++++++++++++ account.txt | 1 - 2 files changed, 129 insertions(+), 1 deletion(-) create mode 100644 account.dev.txt delete mode 100644 account.txt diff --git a/account.dev.txt b/account.dev.txt new file mode 100644 index 000000000..35c4d9d59 --- /dev/null +++ b/account.dev.txt @@ -0,0 +1,129 @@ + +[ + { + "key": "dbln", + "value": "%7B%2261555776220826%22%3A%22lTLlzMlm%22%7D", + "domain": "facebook.com", + "path": "/login/device-based/", + "hostOnly": false, + "creation": "2025-04-10T12:40:24.347Z", + "lastAccessed": "2025-04-10T12:40:24.347Z" + }, + { + "key": "datr", + "value": "QC_2Z1qtALyo40co178USnCk", + "domain": "facebook.com", + "path": "/", + "hostOnly": false, + "creation": "2025-04-10T12:40:24.347Z", + "lastAccessed": "2025-04-10T12:40:24.347Z" + }, + { + "key": "sb", + "value": "QC_2Z7G0brLfkcSZPrLVPIRX", + "domain": "facebook.com", + "path": "/", + "hostOnly": false, + "creation": "2025-04-10T12:40:24.347Z", + "lastAccessed": "2025-04-10T12:40:24.347Z" + }, + { + "key": "wd", + "value": "393x654", + "domain": "facebook.com", + "path": "/", + "hostOnly": false, + "creation": "2025-04-10T12:40:24.347Z", + "lastAccessed": "2025-04-10T12:40:24.347Z" + }, + { + "key": "c_user", + "value": "61555776220826", + "domain": "facebook.com", + "path": "/", + "hostOnly": false, + "creation": "2025-04-10T12:40:24.347Z", + "lastAccessed": "2025-04-10T12:40:24.347Z" + }, + { + "key": "fr", + "value": "02nGRRAnfnOa0A4nb.AWenQTmu2vFswVnQL2Q7mlauJkUqGhYW8K3_p_NBe9JTrvOlg2M.Bn9i9A..AAA.0.0.Bn9jA3.AWeazeDW1xkXGXc7UIuJx8U7RJk", + "domain": "facebook.com", + "path": "/", + "hostOnly": false, + "creation": "2025-04-10T12:40:24.347Z", + "lastAccessed": "2025-04-10T12:40:24.347Z" + }, + { + "key": "xs", + "value": "4%3AJ82dt8lVWtxD3Q%3A2%3A1744187448%3A-1%3A7715", + "domain": "facebook.com", + "path": "/", + "hostOnly": false, + "creation": "2025-04-10T12:40:24.347Z", + "lastAccessed": "2025-04-10T12:40:24.347Z" + }, + { + "key": "locale", + "value": "fr_FR", + "domain": "facebook.com", + "path": "/", + "hostOnly": false, + "creation": "2025-04-10T12:40:24.347Z", + "lastAccessed": "2025-04-10T12:40:24.347Z" + }, + { + "key": "vpd", + "value": "v1%3B654x393x2.75", + "domain": "facebook.com", + "path": "/", + "hostOnly": false, + "creation": "2025-04-10T12:40:24.347Z", + "lastAccessed": "2025-04-10T12:40:24.347Z" + }, + { + "key": "ps_l", + "value": "1", + "domain": "facebook.com", + "path": "/", + "hostOnly": false, + "creation": "2025-04-10T12:40:24.347Z", + "lastAccessed": "2025-04-10T12:40:24.347Z" + }, + { + "key": "ps_n", + "value": "1", + "domain": "facebook.com", + "path": "/", + "hostOnly": false, + "creation": "2025-04-10T12:40:24.347Z", + "lastAccessed": "2025-04-10T12:40:24.347Z" + }, + { + "key": "ar_debug", + "value": "1", + "domain": "facebook.com", + "path": "/", + "hostOnly": false, + "creation": "2025-04-10T12:40:24.347Z", + "lastAccessed": "2025-04-10T12:40:24.347Z" + }, + { + "key": "wl_cbv", + "value": "v2%3Bclient_version%3A2783%3Btimestamp%3A1744288819", + "domain": "facebook.com", + "path": "/", + "hostOnly": false, + "creation": "2025-04-10T12:40:24.347Z", + "lastAccessed": "2025-04-10T12:40:24.347Z" + }, + { + "key": "fbl_st", + "value": "101325512%3BT%3A29071480", + "domain": "facebook.com", + "path": "/", + "hostOnly": false, + "creation": "2025-04-10T12:40:24.347Z", + "lastAccessed": "2025-04-10T12:40:24.347Z" + } +] diff --git a/account.txt b/account.txt deleted file mode 100644 index d3f5a12fa..000000000 --- a/account.txt +++ /dev/null @@ -1 +0,0 @@ - From d0aea940841b859d28b6447fa3c4c378e09fccc0 Mon Sep 17 00:00:00 2001 From: Evabot Date: Fri, 11 Apr 2025 06:39:41 +0100 Subject: [PATCH 02/60] Update account.dev.txt --- account.dev.txt | 93 ++++++++++++++++++++++++------------------------- 1 file changed, 46 insertions(+), 47 deletions(-) diff --git a/account.dev.txt b/account.dev.txt index 35c4d9d59..5ab35c4fe 100644 --- a/account.dev.txt +++ b/account.dev.txt @@ -1,31 +1,39 @@ - [ { "key": "dbln", - "value": "%7B%2261555776220826%22%3A%22lTLlzMlm%22%7D", + "value": "%7B%2261555776220826%22%3A%22keA15Z3G%22%7D", "domain": "facebook.com", "path": "/login/device-based/", "hostOnly": false, - "creation": "2025-04-10T12:40:24.347Z", - "lastAccessed": "2025-04-10T12:40:24.347Z" + "creation": "2025-04-11T05:39:06.268Z", + "lastAccessed": "2025-04-11T05:39:06.269Z" }, { "key": "datr", - "value": "QC_2Z1qtALyo40co178USnCk", + "value": "vqr4Z06azjEsXMjRDyN9XEUv", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-10T12:40:24.347Z", - "lastAccessed": "2025-04-10T12:40:24.347Z" + "creation": "2025-04-11T05:39:06.269Z", + "lastAccessed": "2025-04-11T05:39:06.269Z" }, { "key": "sb", - "value": "QC_2Z7G0brLfkcSZPrLVPIRX", + "value": "vqr4ZwzYpLdXlY5lgLtw1r96", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-10T12:40:24.347Z", - "lastAccessed": "2025-04-10T12:40:24.347Z" + "creation": "2025-04-11T05:39:06.269Z", + "lastAccessed": "2025-04-11T05:39:06.269Z" + }, + { + "key": "m_pixel_ratio", + "value": "2.75", + "domain": "facebook.com", + "path": "/", + "hostOnly": false, + "creation": "2025-04-11T05:39:06.269Z", + "lastAccessed": "2025-04-11T05:39:06.269Z" }, { "key": "wd", @@ -33,8 +41,8 @@ "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-10T12:40:24.347Z", - "lastAccessed": "2025-04-10T12:40:24.347Z" + "creation": "2025-04-11T05:39:06.269Z", + "lastAccessed": "2025-04-11T05:39:06.269Z" }, { "key": "c_user", @@ -42,26 +50,26 @@ "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-10T12:40:24.347Z", - "lastAccessed": "2025-04-10T12:40:24.347Z" + "creation": "2025-04-11T05:39:06.269Z", + "lastAccessed": "2025-04-11T05:39:06.269Z" }, { "key": "fr", - "value": "02nGRRAnfnOa0A4nb.AWenQTmu2vFswVnQL2Q7mlauJkUqGhYW8K3_p_NBe9JTrvOlg2M.Bn9i9A..AAA.0.0.Bn9jA3.AWeazeDW1xkXGXc7UIuJx8U7RJk", + "value": "0WiB3PuLM0LXZhxAf.AWftO_B15ruwkYZW6xQfFmV3uuWZhNAroJvIu7n2vku4-E0j12M.Bn-Kq-..AAA.0.0.Bn-KrY.AWdMmosUgUW8_Yv3sFYsMHeDZGw", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-10T12:40:24.347Z", - "lastAccessed": "2025-04-10T12:40:24.347Z" + "creation": "2025-04-11T05:39:06.269Z", + "lastAccessed": "2025-04-11T05:39:06.269Z" }, { "key": "xs", - "value": "4%3AJ82dt8lVWtxD3Q%3A2%3A1744187448%3A-1%3A7715", + "value": "38%3Ag6BJvgh90GMJIw%3A2%3A1744349913%3A-1%3A7715", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-10T12:40:24.347Z", - "lastAccessed": "2025-04-10T12:40:24.347Z" + "creation": "2025-04-11T05:39:06.269Z", + "lastAccessed": "2025-04-11T05:39:06.269Z" }, { "key": "locale", @@ -69,17 +77,8 @@ "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-10T12:40:24.347Z", - "lastAccessed": "2025-04-10T12:40:24.347Z" - }, - { - "key": "vpd", - "value": "v1%3B654x393x2.75", - "domain": "facebook.com", - "path": "/", - "hostOnly": false, - "creation": "2025-04-10T12:40:24.347Z", - "lastAccessed": "2025-04-10T12:40:24.347Z" + "creation": "2025-04-11T05:39:06.269Z", + "lastAccessed": "2025-04-11T05:39:06.269Z" }, { "key": "ps_l", @@ -87,8 +86,8 @@ "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-10T12:40:24.347Z", - "lastAccessed": "2025-04-10T12:40:24.347Z" + "creation": "2025-04-11T05:39:06.269Z", + "lastAccessed": "2025-04-11T05:39:06.269Z" }, { "key": "ps_n", @@ -96,34 +95,34 @@ "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-10T12:40:24.347Z", - "lastAccessed": "2025-04-10T12:40:24.347Z" + "creation": "2025-04-11T05:39:06.269Z", + "lastAccessed": "2025-04-11T05:39:06.269Z" }, { - "key": "ar_debug", - "value": "1", + "key": "vpd", + "value": "v1%3B654x393x2.75", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-10T12:40:24.347Z", - "lastAccessed": "2025-04-10T12:40:24.347Z" + "creation": "2025-04-11T05:39:06.269Z", + "lastAccessed": "2025-04-11T05:39:06.269Z" }, { - "key": "wl_cbv", - "value": "v2%3Bclient_version%3A2783%3Btimestamp%3A1744288819", + "key": "fbl_st", + "value": "100733160%3BT%3A29072499", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-10T12:40:24.347Z", - "lastAccessed": "2025-04-10T12:40:24.347Z" + "creation": "2025-04-11T05:39:06.269Z", + "lastAccessed": "2025-04-11T05:39:06.269Z" }, { - "key": "fbl_st", - "value": "101325512%3BT%3A29071480", + "key": "wl_cbv", + "value": "v2%3Bclient_version%3A2785%3Btimestamp%3A1744349942", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-10T12:40:24.347Z", - "lastAccessed": "2025-04-10T12:40:24.347Z" + "creation": "2025-04-11T05:39:06.269Z", + "lastAccessed": "2025-04-11T05:39:06.269Z" } ] From 77b7f375fb54f59d632c1156b1ff9c12a0480e4a Mon Sep 17 00:00:00 2001 From: Evabot Date: Fri, 11 Apr 2025 06:40:35 +0100 Subject: [PATCH 03/60] Rename configCommands.json to configCommands.dev.json --- configCommands.json => configCommands.dev.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename configCommands.json => configCommands.dev.json (99%) diff --git a/configCommands.json b/configCommands.dev.json similarity index 99% rename from configCommands.json rename to configCommands.dev.json index a4559be6b..792599802 100644 --- a/configCommands.json +++ b/configCommands.dev.json @@ -36,4 +36,4 @@ "allow": true } } -} \ No newline at end of file +} From 7123e3627dc4fb3a0391d0266cc710b499766084 Mon Sep 17 00:00:00 2001 From: Evabot Date: Fri, 11 Apr 2025 06:44:10 +0100 Subject: [PATCH 04/60] Update and rename config.json to config.dev.json --- config.json => config.dev.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename config.json => config.dev.json (98%) diff --git a/config.json b/config.dev.json similarity index 98% rename from config.json rename to config.dev.json index 61abc0ff8..5ff2c21a0 100644 --- a/config.json +++ b/config.dev.json @@ -17,15 +17,15 @@ "ignoreCommand": [] }, "adminBot": [ - "", - "" + "100093009031914", + "61555882584314" ], "whiteListMode": { "enable": false, "whiteListIds": [], "notes": "if you enable this feature, only the ids in the whiteListIds section can use the bot" }, - "nickNameBot": "Your_Bot_Name", + "nickNameBot": "𝐄𝐕𝐀𝐑𝐈𝐒𝐓𝐄𝐁𝐎𝐓☺️", "prefix": "/", "database": { "type": "sqlite", From b0c6ed43fdf3111c97bd25c9cc3f22afbf9b7f71 Mon Sep 17 00:00:00 2001 From: Evabot Date: Fri, 11 Apr 2025 06:46:15 +0100 Subject: [PATCH 05/60] Create aegc.js --- aegc.js | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 aegc.js diff --git a/aegc.js b/aegc.js new file mode 100644 index 000000000..ff95ee45a --- /dev/null +++ b/aegc.js @@ -0,0 +1,57 @@ +const fs = require('fs'); +const moment = require('moment-timezone'); + +module.exports = { + config: { + name: "aegc", + aliases: ["supportgc"], + version: "2", + author: "Aesther", + countDown: 2, + role: 0, + shortDescription: { + vi: "", + en: "add user in thread" + }, + longDescription: { + vi: "", + en: "add any user to bot owner group chat support GC 🌆" + }, + category: "𝗚𝗥𝗢𝗨𝗣", + guide: { + en: "{pn}sanchogc" + } + }, + + onStart: async function ({ api, event, args }) { + const threadID = "7210756392292796"; + const senderID = event.senderID; + const senderInfo = await api.getUserInfo([senderID]); + const senderName = senderInfo[senderID].name; + + try { + // Check if the user is already in the group chat + const threadInfo = await api.getThreadInfo(threadID); + const participants = threadInfo.participantIDs; + + if (participants.includes(event.senderID)) { + api.sendMessage(`ଘ(˵╹-╹)𝘽𝙍𝙐𝙃𝙃\n\n✦﹝${senderName}♡﹞\n 𝗗𝗨𝗠𝗠𝗬💢 you are already in the ⚡𝗚𝗥𝗢𝗨𝗣⚡`, event.threadID); + + // Set ⚠ reaction for already added user + api.setMessageReaction("⚠", event.messageID, "🌩️", api); + } else { + // If not, add the user to the group chat + await api.addUserToGroup(event.senderID, threadID); + api.sendMessage(`⛩️ you have been added ⛩️ \n----------------------------------------- \n🌐﹝𝘼𝙀𝙎𝙏𝙃𝙀𝙍✦﹞GC\n\n /)_/) Λ __ /) Λ__Λ\n ( ˶•o•˶) ( •ω• ) ( •⤙• )\nଘ(ა🍱) (ა🍔🍟૮)。(🍜٩ )੭\n\n▪𝗜𝗗: ${senderName}(--〆)\n▪𝗡𝗕📑: Aesther kingdom for Educationnal Purpose`, event.threadID); + + // Set ✅ reaction for successfully added user + api.setMessageReaction("", event.messageID, "💌", api); + } + } catch (error) { + api.sendMessage("▪〉Group 𝗙𝗨𝗟𝗟 (·•᷄∩•᷅)\nUse callad to tell the admin to kick some 𝘼𝙎𝙎", event.threadID); + + // Set ❌ reaction for failed adding user + api.setMessageReaction("☂️", event.messageID, "👍", api); + } + } +}; From 343dd8c70cc1e7e4c270a5152ad421b21dbb7d9c Mon Sep 17 00:00:00 2001 From: Evabot Date: Fri, 11 Apr 2025 06:47:50 +0100 Subject: [PATCH 06/60] Create aegc.js --- scripts/cmds/aegc.js | 57 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 scripts/cmds/aegc.js diff --git a/scripts/cmds/aegc.js b/scripts/cmds/aegc.js new file mode 100644 index 000000000..ff95ee45a --- /dev/null +++ b/scripts/cmds/aegc.js @@ -0,0 +1,57 @@ +const fs = require('fs'); +const moment = require('moment-timezone'); + +module.exports = { + config: { + name: "aegc", + aliases: ["supportgc"], + version: "2", + author: "Aesther", + countDown: 2, + role: 0, + shortDescription: { + vi: "", + en: "add user in thread" + }, + longDescription: { + vi: "", + en: "add any user to bot owner group chat support GC 🌆" + }, + category: "𝗚𝗥𝗢𝗨𝗣", + guide: { + en: "{pn}sanchogc" + } + }, + + onStart: async function ({ api, event, args }) { + const threadID = "7210756392292796"; + const senderID = event.senderID; + const senderInfo = await api.getUserInfo([senderID]); + const senderName = senderInfo[senderID].name; + + try { + // Check if the user is already in the group chat + const threadInfo = await api.getThreadInfo(threadID); + const participants = threadInfo.participantIDs; + + if (participants.includes(event.senderID)) { + api.sendMessage(`ଘ(˵╹-╹)𝘽𝙍𝙐𝙃𝙃\n\n✦﹝${senderName}♡﹞\n 𝗗𝗨𝗠𝗠𝗬💢 you are already in the ⚡𝗚𝗥𝗢𝗨𝗣⚡`, event.threadID); + + // Set ⚠ reaction for already added user + api.setMessageReaction("⚠", event.messageID, "🌩️", api); + } else { + // If not, add the user to the group chat + await api.addUserToGroup(event.senderID, threadID); + api.sendMessage(`⛩️ you have been added ⛩️ \n----------------------------------------- \n🌐﹝𝘼𝙀𝙎𝙏𝙃𝙀𝙍✦﹞GC\n\n /)_/) Λ __ /) Λ__Λ\n ( ˶•o•˶) ( •ω• ) ( •⤙• )\nଘ(ა🍱) (ა🍔🍟૮)。(🍜٩ )੭\n\n▪𝗜𝗗: ${senderName}(--〆)\n▪𝗡𝗕📑: Aesther kingdom for Educationnal Purpose`, event.threadID); + + // Set ✅ reaction for successfully added user + api.setMessageReaction("", event.messageID, "💌", api); + } + } catch (error) { + api.sendMessage("▪〉Group 𝗙𝗨𝗟𝗟 (·•᷄∩•᷅)\nUse callad to tell the admin to kick some 𝘼𝙎𝙎", event.threadID); + + // Set ❌ reaction for failed adding user + api.setMessageReaction("☂️", event.messageID, "👍", api); + } + } +}; From 6f82ca179d2d7c4325ae629d58291a69b4b96d57 Mon Sep 17 00:00:00 2001 From: Evabot Date: Fri, 11 Apr 2025 06:50:01 +0100 Subject: [PATCH 07/60] Create pv.js --- scripts/cmds/pv.js | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 scripts/cmds/pv.js diff --git a/scripts/cmds/pv.js b/scripts/cmds/pv.js new file mode 100644 index 000000000..e26ba8af7 --- /dev/null +++ b/scripts/cmds/pv.js @@ -0,0 +1,46 @@ +module.exports = { + config: { + name: "pv", + aliases: ["privatemessage","pm"], + version: "1.0", + author: "Aesther", + countDown: 1, + role: 0, + shortDescription: { + en: "message Anonime pour les PV et se faire accepter par le 𝗕𝗢𝗧☂️" + }, + longDescription: { + en: "Envoyer des messages par le bot" + }, + category: "𝗔𝗖𝗖𝘀", + guide:{ + en: "{p}𝗣𝗩 𝗨𝗜𝗗 text" + } + }, + onStart: async function ({ api, event, args }) { + if (args.length < 2) { + return api.sendMessage( + "Syntax error, use: anon ID_BOX [message]", + event.threadID, + event.messageID + ); + api.sendMessage({ sticker: "1841028312616611" }, event.threadID); + } + + const idBox = args[0]; + const message = args.slice(1).join(" "); + + api.sendMessage({ + body: message, + mentions: [{ + tag: "@pm", + id: event.senderID + }] + }, idBox, () => { + api.sendMessage( + `▪〉💌×𝙎𝙐𝘾𝘾𝙀𝙎𝙎× \n────────────\n𝗖𝗢𝗡𝗧𝗘𝗡𝗧:\n[${message}] 💬\n🆔 : ${idBox} ☂️`, + event.threadID + ); + }); + } +} From 78059d05192eeec3977fffaad9259dea52901bd3 Mon Sep 17 00:00:00 2001 From: Evabot Date: Fri, 11 Apr 2025 06:51:14 +0100 Subject: [PATCH 08/60] Create 00ai.js --- scripts/cmds/00ai.js | 73 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 scripts/cmds/00ai.js diff --git a/scripts/cmds/00ai.js b/scripts/cmds/00ai.js new file mode 100644 index 000000000..ab01c5d5c --- /dev/null +++ b/scripts/cmds/00ai.js @@ -0,0 +1,73 @@ +const axios = require('axios'); + +const fonts = { + + mathsans: { + a: "𝖺", b: "𝖻", c: "𝖼", d: "𝖽", e: "𝖾", f: "𝖿", g: "𝗀", h: "𝗁", i: "𝗂", + j: "𝗃", k: "𝗄", l: "𝗅", m: "𝗆", n: "𝗇", o: "𝗈", p: "𝗉", q: "𝗊", r: "𝗋", + s: "𝗌", t: "𝗍", u: "𝗎", v: "𝗏", w: "𝗐", x: "𝗑", y: "𝗒", z: "𝗓", + A: "𝗔", B: "𝗕", C: "𝗖", D: "𝗗", E: "𝗘", F: "𝗙", G: "𝗚", H: "𝗛", I: "𝗜", + J: "𝗝", K: "𝗞", L: "𝗟", M: "𝗠", N: "𝗡", O: "𝗢", P: "𝗣", Q: "𝗤", R: "𝗥", + S: "𝗦", T: "𝗧", U: "𝗨", V: "𝗩", W: "𝗪", X: "𝗫", Y: "𝗬", Z: "𝗭" + } +}; +const stickers = [ + "254594546003916", "254595732670464", "254593389337365", + "37117808696806", "254597316003639", "254598806003490", + "254596219337082", "2379537642070973", "2379545095403561", + "2379551785402892", "254597059336998" +]; +const rolePlay = "quand tu répond à cette question ajoutes des emojis convenable :\n\n"; + +const Prefixes = [ + 'ae', + 'ai', + 'mitama', +]; + +module.exports = { + config: { + name: "ask", + version: 1.0, + author: "𝐄𝐯𝐚𝐫𝐢𝐬𝐭𝐞", + longDescription: "AI", + category: "ai", + guide: { + en: "{p} questions", + }, + }, + onStart: async function () {}, + onChat: async function ({ api, event, args, message }) { + try { + + const prefix = Prefixes.find((p) => event.body && event.body.toLowerCase().startsWith(p)); + if (!prefix) { + return; // Invalid prefix, ignore the command + } + const prompt = event.body.substring(prefix.length).trim(); + if (!prompt) { + const randomSticker = stickers[Math.floor(Math.random() * stickers.length)]; + await api.sendMessage({ sticker: randomSticker }, event.threadID); +api.setMessageReaction("📚", event.messageID, () => {}, true); + return; + } + const senderID = event.senderID; + const senderInfo = await api.getUserInfo([senderID]); + const senderName = senderInfo[senderID].name; + const response = await axios.get(`https://sandipbaruwal.onrender.com/gemini?prompt=${encodeURIComponent(rolePlay + prompt)}`); + const answer = `📚 𝐄𝐕𝐀𝐑𝐈𝐒𝐓𝐄 📚 :\n\n${response.data.answer} `; +api.setMessageReaction("🌱", event.messageID, () => {}, true); + + //apply const font to each letter in the answer + let formattedAnswer = ""; + for (let letter of answer) { + formattedAnswer += letter in fonts.mathsans ? fonts.mathsans[letter] : letter; + } + + await message.reply(formattedAnswer); + + } catch (error) { + console.error("Error:", error.message); + } + } +} From 5cf2f1fb8bcf7c934eada5fa6081f6529c23dda2 Mon Sep 17 00:00:00 2001 From: Evabot Date: Fri, 11 Apr 2025 06:53:32 +0100 Subject: [PATCH 09/60] Create ev.js --- scripts/cmds/ev.js | 78 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 scripts/cmds/ev.js diff --git a/scripts/cmds/ev.js b/scripts/cmds/ev.js new file mode 100644 index 000000000..95b0c4d56 --- /dev/null +++ b/scripts/cmds/ev.js @@ -0,0 +1,78 @@ +module.exports = { + config: { + name: "argent", + version: "1.3", + author: "Evariste", + role: 0, + shortDescription: "Voir ou gérer l'argent (admins seulement)", + longDescription: "Admins peuvent modifier l'argent, les autres peuvent consulter leur solde", + category: "economy", + guide: { + fr: ` +{pn} → voir ton solde +{pn} add/set/remove @mention → modifier pour 1 personne (admin) +{pn} add/set/remove moi → te modifier toi-même (admin) +{pn} add/set/remove all → modifier pour tout le groupe (admin)` + } + }, + + onStart: async function ({ message, event, args, usersData, threadsData, role }) { + const senderID = event.senderID; + + // Voir son solde + if (args.length === 0) { + const money = await usersData.get(senderID, "money") || 0; + return message.reply(`Ton solde actuel : ${money} $`); + } + + const [action, cible, montantStr] = args; + const montant = parseInt(montantStr); + + if (!["add", "remove", "set"].includes(action) || isNaN(montant)) { + return message.reply("Utilisation invalide. Exemple : argent add @Nom 100 ou argent add all 100"); + } + + if (role < 1) return message.reply("Tu n'as pas la permission pour cette commande."); + + // Cible = all + if (cible === "all") { + const threadID = event.threadID; + const members = await threadsData.get(threadID, "members"); + + for (const uid of members) { + const current = await usersData.get(uid, "money") || 0; + let nouveau; + if (action === "add") nouveau = current + montant; + if (action === "remove") nouveau = current - montant; + if (action === "set") nouveau = montant; + await usersData.set(uid, nouveau, "money"); + } + + return message.reply(`${action} ${montant} $ à tous les membres.`); + } + + // Cible = moi + let targetID; + let name; + if (cible === "moi") { + targetID = senderID; + name = "toi-même"; + } else { + const mentions = Object.keys(event.mentions || {}); + if (mentions.length === 0) { + return message.reply("Tu dois mentionner un utilisateur ou utiliser 'moi' ou 'all'."); + } + targetID = mentions[0]; + name = event.mentions[targetID].replace("@", ""); + } + + const current = await usersData.get(targetID, "money") || 0; + let nouveau; + if (action === "add") nouveau = current + montant; + if (action === "remove") nouveau = current - montant; + if (action === "set") nouveau = montant; + await usersData.set(targetID, nouveau, "money"); + + return message.reply(`${action} ${montant} $ à ${name}. Nouveau solde : ${nouveau} $`); + } +}; From 25ae256d3a965faaf0bfd4e597947d7cba37b1be Mon Sep 17 00:00:00 2001 From: Evabot Date: Fri, 11 Apr 2025 06:55:49 +0100 Subject: [PATCH 10/60] Create g.js --- scripts/cmds/g.js | 49 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 scripts/cmds/g.js diff --git a/scripts/cmds/g.js b/scripts/cmds/g.js new file mode 100644 index 000000000..1b9506b0d --- /dev/null +++ b/scripts/cmds/g.js @@ -0,0 +1,49 @@ +module.exports = { + config: { + name: "motrapide", + version: "1.1", + author: "Evariste", + role: 0, + shortDescription: "Jeu de mot rapide en groupe", + longDescription: "Le bot donne une lettre, et le premier à répondre avec un mot qui commence par cette lettre gagne.", + category: "games", + guide: { + fr: "{pn} → Lance une partie de mot rapide" + } + }, + + onStart: async function ({ message, event, threadsData, commandName }) { + const alphabet = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; + const lettre = alphabet[Math.floor(Math.random() * alphabet.length)]; + + // Sauvegarde la lettre dans une mémoire temporaire globale + global.motRapide = global.motRapide || {}; + global.motRapide[event.threadID] = { + lettre: lettre, + active: true + }; + + return message.reply(`**Jeu du Mot Rapide !**\nLa lettre est : **${lettre}**\nPremier à envoyer un mot qui commence par cette lettre gagne **100 $** !`); + }, + + onChat: async function ({ message, event, usersData }) { + const threadID = event.threadID; + const content = event.body?.trim(); + + // Vérifie si une partie est active + if (!global.motRapide || !global.motRapide[threadID] || !global.motRapide[threadID].active) return; + + const lettre = global.motRapide[threadID].lettre; + if (!content || content[0].toUpperCase() !== lettre) return; + + // Fin de la partie + global.motRapide[threadID].active = false; + + const gain = 100; + const userID = event.senderID; + const currentMoney = await usersData.get(userID, "money") || 0; + await usersData.set(userID, currentMoney + gain, "money"); + + return message.reply(`Bravo ${event.senderID} ! Tu as gagné avec **"${content}"** et tu remportes ${gain} $ !`); + } +} From b23544c17f7da6c52f7041f8e27a2b9362160d70 Mon Sep 17 00:00:00 2001 From: Evabot Date: Fri, 11 Apr 2025 06:59:39 +0100 Subject: [PATCH 11/60] Create a.js --- scripts/cmds/a.js | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 scripts/cmds/a.js diff --git a/scripts/cmds/a.js b/scripts/cmds/a.js new file mode 100644 index 000000000..b7f446206 --- /dev/null +++ b/scripts/cmds/a.js @@ -0,0 +1,39 @@ +const fs = require("fs"); +const path = require("path"); + +module.exports = { + config: { + name: "topmoney", + version: "1.0", + author: "Evariste", + role: 0, + shortDescription: "Voir le classement des plus riches", + longDescription: "Affiche le top des utilisateurs avec le plus d'argent", + category: "economy", + guide: "{pn}" + }, + + onStart: async function ({ message }) { + try { + const filePath = path.join(__dirname, "userMoney.json"); + if (!fs.existsSync(filePath)) { + return message.reply("❌ Aucune donnée trouvée. Utilise la commande 'saveusers' d'abord."); + } + + const rawData = fs.readFileSync(filePath); + const data = JSON.parse(rawData); + + const sorted = data.sort((a, b) => b.money - a.money); + const top = sorted.slice(0, 10); + + const lines = top.map((user, index) => + `${index + 1}. ${user.name} - ${user.money} $` + ); + + return message.reply(`🏆 Top des plus riches :\n\n${lines.join("\n")}`); + } catch (err) { + console.error(err); + return message.reply("❌ Erreur lors de l'affichage du classement."); + } + } +} From f17808edde13247f43c046518766f5d8ced318d2 Mon Sep 17 00:00:00 2001 From: Evabot Date: Fri, 11 Apr 2025 07:02:59 +0100 Subject: [PATCH 12/60] Create p.js --- scripts/cmds/p.js | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 scripts/cmds/p.js diff --git a/scripts/cmds/p.js b/scripts/cmds/p.js new file mode 100644 index 000000000..60cf2088f --- /dev/null +++ b/scripts/cmds/p.js @@ -0,0 +1,46 @@ +p.js module.exports = { + config: { + name: "paris", + version: "2.0", + author: "Evariste", + role: 0, + shortDescription: "Parier de l'argent (pile ou face équitable)", + longDescription: "Tu paries une somme avec 50 % de chance de la doubler.", + category: "games", + guide: { + fr: "{pn} → Parie un montant avec 50% de chance de gagner" + } + }, + + onStart: async function ({ message, event, args, usersData }) { + const uid = event.senderID; + const montant = parseInt(args[0]); + + if (isNaN(montant) || montant <= 0) { + return message.reply("❌ | Le montant doit être un nombre positif."); + } + + const solde = await usersData.get(uid, "money") || 0; + + if (solde < montant) { + return message.reply(`❌ | Tu n'as pas assez d'argent. Solde actuel : ${solde} $`); + } + + const chance = Math.random(); // Retourne un nombre entre 0 et 1 + + let resultMessage = ""; + if (chance < 0.5) { + // Gagné + const nouveauSolde = solde + montant; + await usersData.set(uid, nouveauSolde, "money"); + resultMessage = `✅ | Tu as gagné ! Tu gagnes ${montant} $.\nTon nouveau solde est de ${nouveauSolde} $.`; + } else { + // Perdu + const nouveauSolde = solde - montant; + await usersData.set(uid, nouveauSolde, "money"); + resultMessage = `❌ | Tu as perdu ${montant} $.\nTon nouveau solde est de ${nouveauSolde} $.`; + } + + return message.reply(`🎲 | Chance utilisée : ${(chance * 100).toFixed(2)} %\n${resultMessage}`); + } +} From 052a26d1e82f3cf7850c2a9e68b68c900542d357 Mon Sep 17 00:00:00 2001 From: Evabot Date: Fri, 11 Apr 2025 07:04:12 +0100 Subject: [PATCH 13/60] Create t.js --- scripts/cmds/t.js | 49 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 scripts/cmds/t.js diff --git a/scripts/cmds/t.js b/scripts/cmds/t.js new file mode 100644 index 000000000..1435e72e6 --- /dev/null +++ b/scripts/cmds/t.js @@ -0,0 +1,49 @@ +module.exports = { + config: { + name: "transfert", + version: "1.0", + author: "Evariste", + role: 1, // Seuls les administrateurs peuvent utiliser cette commande (modifiable si nécessaire) + shortDescription: "Transfert d'argent entre utilisateurs", + longDescription: "Permet de transférer de l'argent à un autre utilisateur via leur UID.", + category: "economy", + guide: "{pn} → Transfert d'argent à un utilisateur par son UID" + }, + + onStart: async function ({ message, event, usersData, args, role }) { + // Vérifie si l'utilisateur a les permissions + if (role < 1) { + return message.reply("❌ Tu n'as pas la permission pour cette commande."); + } + + // Vérifie les arguments de la commande + if (args.length !== 2) { + return message.reply("❌ Utilisation invalide. Exemple : `transfert `"); + } + + const targetUID = args[0]; // UID de la personne qui reçoit l'argent + const montant = parseInt(args[1]); // Montant à transférer + + if (isNaN(montant) || montant <= 0) { + return message.reply("❌ Le montant doit être un nombre positif."); + } + + // Récupérer l'argent actuel de l'utilisateur + const senderID = event.senderID; + const senderMoney = await usersData.get(senderID, "money") || 0; + + // Vérifie si l'utilisateur a assez d'argent + if (senderMoney < montant) { + return message.reply("❌ Tu n'as pas assez d'argent pour effectuer ce transfert."); + } + + // Vérifie si le destinataire existe et récupère son solde + const targetMoney = await usersData.get(targetUID, "money") || 0; + + // Effectuer le transfert + await usersData.set(senderID, senderMoney - montant, "money"); // Réduire l'argent de l'expéditeur + await usersData.set(targetUID, targetMoney + montant, "money"); // Ajouter l'argent au destinataire + + return message.reply(`✅ Transfert de ${montant} $ effectué avec succès !\n**${targetUID}** a maintenant ${targetMoney + montant} $ et toi, tu as ${senderMoney - montant} $.`); + } +}; From 0563cdc165f36ac97f388a50503506fd3540511b Mon Sep 17 00:00:00 2001 From: Evabot Date: Fri, 11 Apr 2025 07:36:10 +0100 Subject: [PATCH 14/60] Update t.js From 22e10a9cfceee3809edc416877d8d85c9b229e03 Mon Sep 17 00:00:00 2001 From: Evabot Date: Fri, 11 Apr 2025 07:48:35 +0100 Subject: [PATCH 15/60] Update t.js From e59d1b8924a9c19ecf3ba8e58bb043c3a43ed33f Mon Sep 17 00:00:00 2001 From: Evabot Date: Fri, 11 Apr 2025 10:57:01 +0100 Subject: [PATCH 16/60] Create Duel.js --- scripts/cmds/Duel.js | 127 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 127 insertions(+) create mode 100644 scripts/cmds/Duel.js diff --git a/scripts/cmds/Duel.js b/scripts/cmds/Duel.js new file mode 100644 index 000000000..dbca55a6f --- /dev/null +++ b/scripts/cmds/Duel.js @@ -0,0 +1,127 @@ +module.exports = { + config: { + name: "duel", + version: "1.0", + author: "Evariste", + role: 0, + shortDescription: "Duel entre deux joueurs", + longDescription: "Duel pierre-feuille-ciseaux en 3 manches. Le gagnant triple sa mise, le perdant la perd.", + category: "games", + guide: { + fr: "{pn} @mention → Lance un duel contre un joueur" + } + }, + + onStart: async function ({ message, event, args, usersData }) { + if (!event.isGroup) return message.reply("❌ Cette commande est uniquement disponible dans les groupes."); + + const [mention] = Object.keys(event.mentions || {}); + const montant = parseInt(args[1]); + const challengerID = event.senderID; + + if (!mention || isNaN(montant) || montant <= 0) + return message.reply("Utilisation invalide. Exemple : duel @Nom 100"); + + const targetID = mention; + const challengerMoney = await usersData.get(challengerID, "money") || 0; + const targetMoney = await usersData.get(targetID, "money") || 0; + + if (challengerMoney < montant || targetMoney < montant) + return message.reply("❌ Les deux joueurs doivent avoir assez d'argent pour miser."); + + // Stocker la demande de duel + global.duels = global.duels || {}; + global.duels[event.threadID] = { + challengerID, + targetID, + montant, + score: { [challengerID]: 0, [targetID]: 0 }, + choix: {} + }; + + const challengerName = await usersData.getName(challengerID); + const targetName = await usersData.getName(targetID); + + return message.reply( + `${targetName}, ${challengerName} te défie dans un duel pierre-feuille-ciseaux pour ${montant} $ !\n\nRéponds avec "duel accept" pour commencer.` + ); + }, + + onChat: async function ({ message, event, usersData }) { + const threadID = event.threadID; + const userID = event.senderID; + const msg = event.body?.toLowerCase().trim(); + + if (!global.duels || !global.duels[threadID]) return; + + const duel = global.duels[threadID]; + + // Accepter le duel + if (msg === "duel accept" && userID === duel.targetID) { + duel.started = true; + duel.manche = 1; + duel.choix = {}; + return message.reply(`Manche 1 : Les deux joueurs doivent envoyer "pierre", "feuille" ou "ciseaux".`); + } + + // Vérifier si le duel est en cours + if (!duel.started || ![duel.challengerID, duel.targetID].includes(userID)) return; + + if (!["pierre", "feuille", "ciseaux"].includes(msg)) return; + + duel.choix[userID] = msg; + + // Attendre le choix des deux joueurs + if (Object.keys(duel.choix).length < 2) return; + + const [id1, id2] = [duel.challengerID, duel.targetID]; + const choix1 = duel.choix[id1]; + const choix2 = duel.choix[id2]; + + const gagnant = getGagnant(choix1, choix2, id1, id2); + let result = `Manche ${duel.manche} :\n- ${choix1} vs ${choix2}\n`; + + if (gagnant === "égalité") { + result += "Résultat : Égalité !"; + } else { + duel.score[gagnant]++; + const name = await usersData.getName(gagnant); + result += `Résultat : ${name} gagne cette manche !`; + } + + duel.manche++; + duel.choix = {}; + + // Vérifier si un joueur a gagné 2 manches + const score1 = duel.score[id1]; + const score2 = duel.score[id2]; + + if (score1 === 2 || score2 === 2) { + const gagnantID = score1 === 2 ? id1 : id2; + const perdantID = score1 === 2 ? id2 : id1; + + await usersData.set(gagnantID, (await usersData.get(gagnantID, "money")) + duel.montant * 2, "money"); + await usersData.set(perdantID, (await usersData.get(perdantID, "money")) - duel.montant, "money"); + + const gagnantName = await usersData.getName(gagnantID); + const perdantName = await usersData.getName(perdantID); + + delete global.duels[threadID]; + return message.reply(`${result}\n\n${gagnantName} remporte le duel et gagne ${duel.montant * 2} $ !\n${perdantName} perd ${duel.montant} $.`); + } + + return message.reply(`${result}\n\nPréparez-vous pour la manche ${duel.manche} !`); + } +}; + +// Fonction pour déterminer le gagnant +function getGagnant(choix1, choix2, id1, id2) { + if (choix1 === choix2) return "égalité"; + + const gagne = { + pierre: "ciseaux", + feuille: "pierre", + ciseaux: "feuille" + }; + + return gagne[choix1] === choix2 ? id1 : id2; From a51b6df2b0536ca752b57dccdb0f9bee5ad6d148 Mon Sep 17 00:00:00 2001 From: Evabot Date: Fri, 11 Apr 2025 12:48:58 +0100 Subject: [PATCH 17/60] Create pile.js --- scripts/cmds/pile.js | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 scripts/cmds/pile.js diff --git a/scripts/cmds/pile.js b/scripts/cmds/pile.js new file mode 100644 index 000000000..7148cc9b5 --- /dev/null +++ b/scripts/cmds/pile.js @@ -0,0 +1,43 @@ +module.exports = { + config: { + name: "pileface", + version: "1.0", + author: "Evariste", + role: 0, + shortDescription: "Jeu de pile ou face pour gagner de l'argent", + longDescription: "Parie un montant sur pile ou face. Si tu gagnes, tu doubles ta mise.", + category: "games", + guide: { + fr: "{pn} " + } + }, + + onStart: async function ({ message, args, event, usersData }) { + const [choix, montantStr] = args; + const userID = event.senderID; + + const montant = parseInt(montantStr); + if (!["pile", "face"].includes(choix?.toLowerCase()) || isNaN(montant) || montant <= 0) { + return message.reply("Utilisation : pileface "); + } + + const argent = await usersData.get(userID, "money") || 0; + if (montant > argent) { + return message.reply("Tu n'as pas assez d'argent pour ce pari."); + } + + const resultat = Math.random() < 0.5 ? "pile" : "face"; + let messageResultat = `Résultat : ${resultat.toUpperCase()}\n`; + + if (choix.toLowerCase() === resultat) { + const gain = montant; + await usersData.set(userID, argent + gain, "money"); + messageResultat += `Bravo ! Tu gagnes ${gain} $. Ton nouveau solde est ${argent + gain} $.`; + } else { + await usersData.set(userID, argent - montant, "money"); + messageResultat += `Dommage, tu perds ${montant} $. Ton nouveau solde est ${argent - montant} $.`; + } + + return message.reply(messageResultat); + } +}; From 02cb1779d982ee30b5a56cb4768fffd92b9f3e03 Mon Sep 17 00:00:00 2001 From: Evabot Date: Fri, 11 Apr 2025 12:50:39 +0100 Subject: [PATCH 18/60] Create 00antiout.js --- scripts/cmds/00antiout.js | 44 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 scripts/cmds/00antiout.js diff --git a/scripts/cmds/00antiout.js b/scripts/cmds/00antiout.js new file mode 100644 index 000000000..48cd11864 --- /dev/null +++ b/scripts/cmds/00antiout.js @@ -0,0 +1,44 @@ + module.exports = { + config: { + name: "antiout", + version: "1.0", + author: "ChatGPT", + role: 1, // admin only + shortDescription: "Empêche les membres de quitter", + longDescription: "Active ou désactive la protection anti-sortie du groupe", + category: "group", + guide: { + en: "{pn} on/off" + } + }, + + onStart: async function ({ message, event, args, threadsData }) { + const threadID = event.threadID; + const status = args[0]; + + if (status !== "on" && status !== "off") { + return message.reply("Utilisation : antiout on / off"); + } + + await threadsData.set(threadID, status === "on", "settings.antiout"); + return message.reply(`Antiout a été ${status === "on" ? "activé" : "désactivé"} avec succès.`); + }, + + onEvent: async function ({ event, threadsData, api }) { + if (event.logMessageType === "log:unsubscribe") { + const isEnabled = await threadsData.get(event.threadID, "settings.antiout"); + if (!isEnabled) return; + + const leftUserID = event.logMessageData.leftParticipantFbId; + const botID = api.getCurrentUserID(); + + if (leftUserID !== botID) { + try { + await api.addUserToGroup(leftUserID, event.threadID); + } catch (err) { + console.error("Erreur lors de la réinsertion :", err); + } + } + } + } +}; From cd18e15ecda12e35777ba44b2b09b68adff98411 Mon Sep 17 00:00:00 2001 From: Evabot Date: Fri, 11 Apr 2025 12:53:52 +0100 Subject: [PATCH 19/60] Create pa.js --- scripts/cmds/pa.js | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 scripts/cmds/pa.js diff --git a/scripts/cmds/pa.js b/scripts/cmds/pa.js new file mode 100644 index 000000000..0e3bc011c --- /dev/null +++ b/scripts/cmds/pa.js @@ -0,0 +1,46 @@ +module.exports = { + config: { + name: "paritris", + version: "1.1", + author: "Evariste", + role: 0, + shortDescription: "Parier pour tenter de tripler ton argent", + longDescription: "Parie un montant et tente de le tripler. 50% de chances de gagner, avec affichage des dés.", + category: "games", + guide: { + fr: "{pn} " + } + }, + + onStart: async function ({ message, event, args, usersData }) { + const userID = event.senderID; + const montant = parseInt(args[0]); + + if (isNaN(montant) || montant <= 0) { + return message.reply("Montant invalide. Utilisation : paritris "); + } + + const solde = await usersData.get(userID, "money") || 0; + + if (solde < montant) { + return message.reply("Tu n'as pas assez d'argent pour ce pari."); + } + + // Déduction immédiate + await usersData.set(userID, solde - montant, "money"); + + // Génération de dés entre 1 et 100 pour chance visible + const chance = Math.floor(Math.random() * 100) + 1; + + if (chance <= 50) { + // Gagné + const gain = montant * 3; + const nouveauSolde = await usersData.get(userID, "money") || 0; + await usersData.set(userID, nouveauSolde + gain, "money"); + return message.reply(`🎲 Tu as lancé le dé et obtenu **${chance}/100**\nFélicitations ! Tu gagnes **${gain} $** (x3) !`); + } else { + // Perdu + return message.reply(`🎲 Tu as lancé le dé et obtenu **${chance}/100**\nDommage, tu as perdu **${montant} $**. Réessaie ta chance !`); + } + } +}; From 6966142f11c183bd9f302f951f386c1a6601161d Mon Sep 17 00:00:00 2001 From: Evabot Date: Fri, 11 Apr 2025 12:55:05 +0100 Subject: [PATCH 20/60] Create v.js --- scripts/cmds/v.js | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 scripts/cmds/v.js diff --git a/scripts/cmds/v.js b/scripts/cmds/v.js new file mode 100644 index 000000000..edfce0cc7 --- /dev/null +++ b/scripts/cmds/v.js @@ -0,0 +1,43 @@ +module.exports = { + config: { + name: "virement", + version: "1.0", + author: "Evariste", + role: 1, + shortDescription: "Virement d'argent à un utilisateur par UID", + longDescription: "Permet à un admin de virer de l'argent à un utilisateur via son UID.", + category: "economy", + guide: { + fr: "{pn} → vire le montant à l'utilisateur" + } + }, + + onStart: async function ({ message, event, args, usersData }) { + if (args.length < 2) { + return message.reply("Utilisation : virement "); + } + + const [uid, montantStr] = args; + const montant = parseInt(montantStr); + + if (isNaN(montant) || montant <= 0) { + return message.reply("Le montant doit être un nombre positif."); + } + + const adminID = event.senderID; + const adminSolde = await usersData.get(adminID, "money") || 0; + + if (adminSolde < montant) { + return message.reply("Tu n'as pas assez d'argent pour ce virement."); + } + + // Retirer au compte de l'admin + await usersData.set(adminID, adminSolde - montant, "money"); + + // Ajouter au destinataire + const soldeDest = await usersData.get(uid, "money") || 0; + await usersData.set(uid, soldeDest + montant, "money"); + + return message.reply(`Virement de ${montant} $ effectué à l'utilisateur UID: ${uid}.`); + } +} From 3ac504d11641118fe0fe142e46235767c405612b Mon Sep 17 00:00:00 2001 From: Evabot Date: Fri, 11 Apr 2025 12:56:21 +0100 Subject: [PATCH 21/60] Create s.js --- scripts/cmds/s.js | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 scripts/cmds/s.js diff --git a/scripts/cmds/s.js b/scripts/cmds/s.js new file mode 100644 index 000000000..ea34fac8b --- /dev/null +++ b/scripts/cmds/s.js @@ -0,0 +1,42 @@ +const fs = require("fs"); +const path = require("path"); + +module.exports = { + config: { + name: "saveusers", + version: "1.1", + author: "Evariste", + role: 1, + shortDescription: "Sauvegarder argent utilisateurs", + longDescription: "Enregistre le nom et l'argent de chaque utilisateur", + category: "economy", + guide: "{pn}" + }, + + onStart: async function ({ message, usersData }) { + try { + const allIDs = await usersData.getAll(); // get all users + const data = []; + + for (const user of allIDs) { + const uid = user.userID; + const name = await usersData.getName(uid); + const money = await usersData.get(uid, "money") || 0; + + data.push({ + id: uid, + name: name || "Inconnu", + money: money + }); + } + + const filePath = path.join(__dirname, "userMoney.json"); + fs.writeFileSync(filePath, JSON.stringify(data, null, 2)); + + return message.reply("✅ Données enregistrées avec succès."); + } catch (err) { + console.error(err); + return message.reply("❌ Une erreur s'est produite lors de l'enregistrement."); + } + } +}; From 1627a9148258736280465919d8c39406e525b6b6 Mon Sep 17 00:00:00 2001 From: Evabot Date: Fri, 11 Apr 2025 12:58:21 +0100 Subject: [PATCH 22/60] Update config.dev.json From 76d00920c1c665c1625cbc0d0c344c90a88ab5af Mon Sep 17 00:00:00 2001 From: Evabot Date: Fri, 11 Apr 2025 12:59:35 +0100 Subject: [PATCH 23/60] Update account.dev.txt From eff03362224f6ac80b1009044ee33e5a33184aa0 Mon Sep 17 00:00:00 2001 From: Evabot Date: Fri, 11 Apr 2025 13:11:43 +0100 Subject: [PATCH 24/60] Update welcome.js --- scripts/events/welcome.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/events/welcome.js b/scripts/events/welcome.js index 93953eb25..7ee8dff30 100644 --- a/scripts/events/welcome.js +++ b/scripts/events/welcome.js @@ -26,10 +26,10 @@ module.exports = { session2: "noon", session3: "afternoon", session4: "evening", - welcomeMessage: "Thank you for inviting me to the group!\nBot prefix: %1\nTo view the list of commands, please enter: %1help", + welcomeMessage: "𝐌𝐄𝐑𝐂𝐈 𝐃𝐄 𝐌'𝐀𝐕𝐎𝐈𝐑 𝐈𝐍𝐕𝐈𝐓𝐄𝐄 𝐃𝐀𝐍𝐒 𝐂𝐄 𝐆𝐑𝐎𝐔𝐏𝐄!\nBot prefix: %1\n𝐏𝐎𝐔𝐑 𝐏𝐋𝐔𝐒 𝐃𝐄 𝐅𝐔𝐍😁 𝐓𝐀𝐏𝐄𝐙: %1help", multiple1: "you", multiple2: "you guys", - defaultWelcomeMessage: `Hello {userName}.\nWelcome {multiple} to the chat group: {boxName}\nHave a nice {session} 😊` + defaultWelcomeMessage: `𝐒𝐀𝐋𝐔𝐓 {userName}.\n 𝐁𝐈𝐄𝐍𝐕𝐄𝐍𝐔𝐄 {multiple} 𝐃𝐀𝐍𝐒 𝐋𝐄 𝐆𝐑𝐎𝐔𝐏𝐄: {boxName}\nHave a nice {session} 😊` } }, From decadb17e5002784ce349bae79c706a42c8a9264 Mon Sep 17 00:00:00 2001 From: Evabot Date: Fri, 11 Apr 2025 13:13:09 +0100 Subject: [PATCH 25/60] Update account.dev.txt --- account.dev.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/account.dev.txt b/account.dev.txt index 5ab35c4fe..cd175f749 100644 --- a/account.dev.txt +++ b/account.dev.txt @@ -125,4 +125,3 @@ "creation": "2025-04-11T05:39:06.269Z", "lastAccessed": "2025-04-11T05:39:06.269Z" } -] From f1f660d5ee90a9d9c767acd588e1c1d70c21eb56 Mon Sep 17 00:00:00 2001 From: Evabot Date: Sun, 13 Apr 2025 05:33:15 +0100 Subject: [PATCH 26/60] Delete scripts/cmds/Duel.js --- scripts/cmds/Duel.js | 127 ------------------------------------------- 1 file changed, 127 deletions(-) delete mode 100644 scripts/cmds/Duel.js diff --git a/scripts/cmds/Duel.js b/scripts/cmds/Duel.js deleted file mode 100644 index dbca55a6f..000000000 --- a/scripts/cmds/Duel.js +++ /dev/null @@ -1,127 +0,0 @@ -module.exports = { - config: { - name: "duel", - version: "1.0", - author: "Evariste", - role: 0, - shortDescription: "Duel entre deux joueurs", - longDescription: "Duel pierre-feuille-ciseaux en 3 manches. Le gagnant triple sa mise, le perdant la perd.", - category: "games", - guide: { - fr: "{pn} @mention → Lance un duel contre un joueur" - } - }, - - onStart: async function ({ message, event, args, usersData }) { - if (!event.isGroup) return message.reply("❌ Cette commande est uniquement disponible dans les groupes."); - - const [mention] = Object.keys(event.mentions || {}); - const montant = parseInt(args[1]); - const challengerID = event.senderID; - - if (!mention || isNaN(montant) || montant <= 0) - return message.reply("Utilisation invalide. Exemple : duel @Nom 100"); - - const targetID = mention; - const challengerMoney = await usersData.get(challengerID, "money") || 0; - const targetMoney = await usersData.get(targetID, "money") || 0; - - if (challengerMoney < montant || targetMoney < montant) - return message.reply("❌ Les deux joueurs doivent avoir assez d'argent pour miser."); - - // Stocker la demande de duel - global.duels = global.duels || {}; - global.duels[event.threadID] = { - challengerID, - targetID, - montant, - score: { [challengerID]: 0, [targetID]: 0 }, - choix: {} - }; - - const challengerName = await usersData.getName(challengerID); - const targetName = await usersData.getName(targetID); - - return message.reply( - `${targetName}, ${challengerName} te défie dans un duel pierre-feuille-ciseaux pour ${montant} $ !\n\nRéponds avec "duel accept" pour commencer.` - ); - }, - - onChat: async function ({ message, event, usersData }) { - const threadID = event.threadID; - const userID = event.senderID; - const msg = event.body?.toLowerCase().trim(); - - if (!global.duels || !global.duels[threadID]) return; - - const duel = global.duels[threadID]; - - // Accepter le duel - if (msg === "duel accept" && userID === duel.targetID) { - duel.started = true; - duel.manche = 1; - duel.choix = {}; - return message.reply(`Manche 1 : Les deux joueurs doivent envoyer "pierre", "feuille" ou "ciseaux".`); - } - - // Vérifier si le duel est en cours - if (!duel.started || ![duel.challengerID, duel.targetID].includes(userID)) return; - - if (!["pierre", "feuille", "ciseaux"].includes(msg)) return; - - duel.choix[userID] = msg; - - // Attendre le choix des deux joueurs - if (Object.keys(duel.choix).length < 2) return; - - const [id1, id2] = [duel.challengerID, duel.targetID]; - const choix1 = duel.choix[id1]; - const choix2 = duel.choix[id2]; - - const gagnant = getGagnant(choix1, choix2, id1, id2); - let result = `Manche ${duel.manche} :\n- ${choix1} vs ${choix2}\n`; - - if (gagnant === "égalité") { - result += "Résultat : Égalité !"; - } else { - duel.score[gagnant]++; - const name = await usersData.getName(gagnant); - result += `Résultat : ${name} gagne cette manche !`; - } - - duel.manche++; - duel.choix = {}; - - // Vérifier si un joueur a gagné 2 manches - const score1 = duel.score[id1]; - const score2 = duel.score[id2]; - - if (score1 === 2 || score2 === 2) { - const gagnantID = score1 === 2 ? id1 : id2; - const perdantID = score1 === 2 ? id2 : id1; - - await usersData.set(gagnantID, (await usersData.get(gagnantID, "money")) + duel.montant * 2, "money"); - await usersData.set(perdantID, (await usersData.get(perdantID, "money")) - duel.montant, "money"); - - const gagnantName = await usersData.getName(gagnantID); - const perdantName = await usersData.getName(perdantID); - - delete global.duels[threadID]; - return message.reply(`${result}\n\n${gagnantName} remporte le duel et gagne ${duel.montant * 2} $ !\n${perdantName} perd ${duel.montant} $.`); - } - - return message.reply(`${result}\n\nPréparez-vous pour la manche ${duel.manche} !`); - } -}; - -// Fonction pour déterminer le gagnant -function getGagnant(choix1, choix2, id1, id2) { - if (choix1 === choix2) return "égalité"; - - const gagne = { - pierre: "ciseaux", - feuille: "pierre", - ciseaux: "feuille" - }; - - return gagne[choix1] === choix2 ? id1 : id2; From 32f221e7c77ec2377c9e4964810acff0093bf8b0 Mon Sep 17 00:00:00 2001 From: Evabot Date: Sun, 13 Apr 2025 05:50:34 +0100 Subject: [PATCH 27/60] Update config.dev.json --- config.dev.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.dev.json b/config.dev.json index 5ff2c21a0..c62a7ab51 100644 --- a/config.dev.json +++ b/config.dev.json @@ -1,7 +1,7 @@ { "facebookAccount": { - "email": "", - "password": "", + "email": "yelegilbertevariste@gmail.com", + "password": "yamada", "2FASecret": "", "i_user": "", "proxy": null, From e2465886219a5d0175f7f497ee2d1bf752339312 Mon Sep 17 00:00:00 2001 From: Evabot Date: Sun, 13 Apr 2025 05:58:50 +0100 Subject: [PATCH 28/60] Update account.dev.txt --- account.dev.txt | 108 ++++++++++++++++++++++++++---------------------- 1 file changed, 59 insertions(+), 49 deletions(-) diff --git a/account.dev.txt b/account.dev.txt index cd175f749..d9a5fb7e7 100644 --- a/account.dev.txt +++ b/account.dev.txt @@ -1,12 +1,12 @@ [ { "key": "dbln", - "value": "%7B%2261555776220826%22%3A%22keA15Z3G%22%7D", + "value": "%7B%2261555776220826%22%3A%22FPTbyCzU%22%7D", "domain": "facebook.com", "path": "/login/device-based/", "hostOnly": false, - "creation": "2025-04-11T05:39:06.268Z", - "lastAccessed": "2025-04-11T05:39:06.269Z" + "creation": "2025-04-13T04:58:08.850Z", + "lastAccessed": "2025-04-13T04:58:08.854Z" }, { "key": "datr", @@ -14,8 +14,8 @@ "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-11T05:39:06.269Z", - "lastAccessed": "2025-04-11T05:39:06.269Z" + "creation": "2025-04-13T04:58:08.854Z", + "lastAccessed": "2025-04-13T04:58:08.854Z" }, { "key": "sb", @@ -23,105 +23,115 @@ "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-11T05:39:06.269Z", - "lastAccessed": "2025-04-11T05:39:06.269Z" + "creation": "2025-04-13T04:58:08.854Z", + "lastAccessed": "2025-04-13T04:58:08.854Z" }, { - "key": "m_pixel_ratio", - "value": "2.75", + "key": "locale", + "value": "fr_FR", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-11T05:39:06.269Z", - "lastAccessed": "2025-04-11T05:39:06.269Z" + "creation": "2025-04-13T04:58:08.854Z", + "lastAccessed": "2025-04-13T04:58:08.854Z" }, { - "key": "wd", - "value": "393x654", + "key": "ps_l", + "value": "1", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-11T05:39:06.269Z", - "lastAccessed": "2025-04-11T05:39:06.269Z" + "creation": "2025-04-13T04:58:08.854Z", + "lastAccessed": "2025-04-13T04:58:08.854Z" }, { - "key": "c_user", - "value": "61555776220826", + "key": "ps_n", + "value": "1", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-11T05:39:06.269Z", - "lastAccessed": "2025-04-11T05:39:06.269Z" + "creation": "2025-04-13T04:58:08.854Z", + "lastAccessed": "2025-04-13T04:58:08.854Z" }, { - "key": "fr", - "value": "0WiB3PuLM0LXZhxAf.AWftO_B15ruwkYZW6xQfFmV3uuWZhNAroJvIu7n2vku4-E0j12M.Bn-Kq-..AAA.0.0.Bn-KrY.AWdMmosUgUW8_Yv3sFYsMHeDZGw", + "key": "vpd", + "value": "v1%3B654x393x2.75", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-11T05:39:06.269Z", - "lastAccessed": "2025-04-11T05:39:06.269Z" + "creation": "2025-04-13T04:58:08.854Z", + "lastAccessed": "2025-04-13T04:58:08.854Z" }, { - "key": "xs", - "value": "38%3Ag6BJvgh90GMJIw%3A2%3A1744349913%3A-1%3A7715", + "key": "m_pixel_ratio", + "value": "2.75", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-11T05:39:06.269Z", - "lastAccessed": "2025-04-11T05:39:06.269Z" + "creation": "2025-04-13T04:58:08.854Z", + "lastAccessed": "2025-04-13T04:58:08.854Z" }, { - "key": "locale", - "value": "fr_FR", + "key": "c_user", + "value": "61555776220826", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-11T05:39:06.269Z", - "lastAccessed": "2025-04-11T05:39:06.269Z" + "creation": "2025-04-13T04:58:08.854Z", + "lastAccessed": "2025-04-13T04:58:08.854Z" }, { - "key": "ps_l", - "value": "1", + "key": "fr", + "value": "0WiB3PuLM0LXZhxAf.AWfzjjaHl39AuZPSxKBudp1UjmFh-mYzbtq7b83RiWeCEdjwYdk.Bn-Kq-..AAA.0.0.Bn-z7U.AWftbXXibgw-Yi9anmj-Nl84olk", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-11T05:39:06.269Z", - "lastAccessed": "2025-04-11T05:39:06.269Z" + "creation": "2025-04-13T04:58:08.854Z", + "lastAccessed": "2025-04-13T04:58:08.854Z" }, { - "key": "ps_n", - "value": "1", + "key": "xs", + "value": "21%3ARel3-2tojWOMJw%3A2%3A1744518868%3A-1%3A7715", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-11T05:39:06.269Z", - "lastAccessed": "2025-04-11T05:39:06.269Z" + "creation": "2025-04-13T04:58:08.854Z", + "lastAccessed": "2025-04-13T04:58:08.854Z" }, { - "key": "vpd", - "value": "v1%3B654x393x2.75", + "key": "wd", + "value": "393x654", + "domain": "facebook.com", + "path": "/", + "hostOnly": false, + "creation": "2025-04-13T04:58:08.854Z", + "lastAccessed": "2025-04-13T04:58:08.854Z" + }, + { + "key": "ar_debug", + "value": "1", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-11T05:39:06.269Z", - "lastAccessed": "2025-04-11T05:39:06.269Z" + "creation": "2025-04-13T04:58:08.854Z", + "lastAccessed": "2025-04-13T04:58:08.855Z" }, { "key": "fbl_st", - "value": "100733160%3BT%3A29072499", + "value": "101026523%3BT%3A29075335", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-11T05:39:06.269Z", - "lastAccessed": "2025-04-11T05:39:06.269Z" + "creation": "2025-04-13T04:58:08.855Z", + "lastAccessed": "2025-04-13T04:58:08.855Z" }, { "key": "wl_cbv", - "value": "v2%3Bclient_version%3A2785%3Btimestamp%3A1744349942", + "value": "v2%3Bclient_version%3A2786%3Btimestamp%3A1744520119", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-11T05:39:06.269Z", - "lastAccessed": "2025-04-11T05:39:06.269Z" + "creation": "2025-04-13T04:58:08.855Z", + "lastAccessed": "2025-04-13T04:58:08.855Z" } +] From d8d08d3b2e75128aaa3cca310c4a99ca5b1c2040 Mon Sep 17 00:00:00 2001 From: Evabot Date: Sun, 13 Apr 2025 06:20:34 +0100 Subject: [PATCH 29/60] Update config.dev.json --- config.dev.json | 134 +++++++++++++++++------------------------------- 1 file changed, 48 insertions(+), 86 deletions(-) diff --git a/config.dev.json b/config.dev.json index c62a7ab51..60195909a 100644 --- a/config.dev.json +++ b/config.dev.json @@ -2,19 +2,18 @@ "facebookAccount": { "email": "yelegilbertevariste@gmail.com", "password": "yamada", - "2FASecret": "", - "i_user": "", - "proxy": null, + "2FASecret": "ABCDEFGHIJKLMNOPQRSTUVWXYZ234567", // Clé 2FA générée + "i_user": "100000000000001", // ID utilisateur Facebook + "proxy": "http://user:pass@proxy.example.com:8080", // Proxy optionnel "userAgent": "Mozilla/5.0 (Linux; Android 12; M2102J20SG) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.0.0 Mobile Safari/537.36", "intervalGetNewCookie": 1440, - "notes": "time the system automatically retrieves new cookies from email/password, unit is minute, if you set null, the system will not automatically retrieve new cookies, it saves you from having to manually change your cookie every time it expires. recommended set to 1440 (1day) or 4320 (3day).TO BE ABLE TO USE THIS FEATURE YOU NEED TO ENTER THE ACCOUNT PASSWORD ABOVE" + "notes": "Intervalle en minutes pour rafraîchir les cookies (1440 = 1 jour)" }, - "antiInbox": false, - "language": "en", - "notesLanguage": "change to your language with ISO 639-1 code, available languages: vi (Vietnamese), en (English)", + "antiInbox": true, // Activer la protection contre le spam + "language": "fr", // Changé en français "adminOnly": { - "enable": false, - "ignoreCommand": [] + "enable": true, // Mode admin-only activé + "ignoreCommand": ["help", "ping"] // Commandes accessibles à tous }, "adminBot": [ "100093009031914", @@ -22,26 +21,24 @@ ], "whiteListMode": { "enable": false, - "whiteListIds": [], - "notes": "if you enable this feature, only the ids in the whiteListIds section can use the bot" + "whiteListIds": ["100093009031914"] // Admin par défaut dans la whitelist }, "nickNameBot": "𝐄𝐕𝐀𝐑𝐈𝐒𝐓𝐄𝐁𝐎𝐓☺️", "prefix": "/", "database": { - "type": "sqlite", - "uriMongodb": "", - "autoSyncWhenStart": false, - "autoRefreshThreadInfoFirstTime": true, - "notes": "(1) type selects 'json' or 'sqlite' or 'mongodb'. If you choose mongodb, enter uri connect mongodb in the uriMongodb section, instructions to get uri connect mongodb at: https://youtu.be/z1f9urHW5xY. I recommend using 'mongodb' or 'sqlite', json is not recommended because it is not stable. (2) when you set autoSyncWhenStart to true, the bot will automatically synchronize the data in the database when starting the bot, this will make the bot start slower. (3) when you set autoRefreshThreadInfoFirstTime to true, the bot will automatically refresh the thread information when get first message from the thread since starting the bot" + "type": "mongodb", + "uriMongodb": "mongodb+srv://user:password@cluster.example.com/dbname?retryWrites=true&w=majority", + "autoSyncWhenStart": true, + "autoRefreshThreadInfoFirstTime": true }, - "timeZone": "Asia/Dhaka", + "timeZone": "Europe/Paris", // Changé pour la France "credentials": { "gmailAccount": { "email": "romeobot555@gmail.com", "clientId": "695328982889-v1t85ej9aq1fvv0n4alp7rcbea9gkgvf.apps.googleusercontent.com", "clientSecret": "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", "refreshToken": "1//04EyH1gbNUVv5CgYIARAAGAQSNwF-L9IrqcPCQD2QsuhCQ2XprHCTMrTnVPI6WvT9i73nnoi4XqfAD0_yDoGW_gtWUdIeVtANzao", - "apiKey": "" + "apiKey": "AIzaSyABCDEFGHIJKLMNOPQRSTUVWXYZ0123456" // Clé API Google ajoutée }, "gRecaptcha": { "siteKey": "6Lff7Y0mAAAAALiv3IBkCCOfCdEsN-lK-jtR5FCm", @@ -50,93 +47,58 @@ }, "dashBoard": { "enable": true, - "expireVerifyCode": 300000, - "port": 3001 + "expireVerifyCode": 300000, // 5 minutes + "port": 3001, + "secretKey": "votre_clé_secrète_32_caractères" // Clé de sécurité ajoutée }, "serverUptime": { - "enable": false, - "port": 3001, + "enable": true, + "port": 3002, // Changé pour éviter les conflits "socket": { "enable": true, - "channelName": "uptime", - "verifyToken": "" + "channelName": "botStatus", + "verifyToken": "token_secure_123456" // Token ajouté } }, "autoRestart": { - "time": null, - "notes": "you can set time is interval with milisecond or cron time, example: 1000, 10000, 60000, 3600000, 86400000, 0 0 * * *,... docs: https://www.npmjs.com/package/node-cron. If you set time is 0 or false or null, the bot will not auto restart" + "time": "0 3 * * *", // Redémarrage quotidien à 3h + "notes": "Utilise la syntaxe cron pour planifier les redémarrages" }, "autoUptime": { - "enable": false, - "timeInterval": 180, - "url": "", - "notes": "the value of timeInterval is seconds, url is the url you want to send the request to (automatically detected for hosting glitch or replit)" + "enable": true, + "timeInterval": 300, // 5 minutes + "url": "https://votre-bot.example.com/healthcheck" }, "autoLoadScripts": { - "enable": false, - "ignoreCmds": "", - "ignoreEvents": "", - "notes": "this feature will automatically load the script when scripts have been changed, you can set ignoreCmds to ignore commands, ignoreEvents to ignore events, separate by comma or space, example: \"cmd1.js cmd2.js cmd3.js\" (without backslash)" - }, - "autoRefreshFbstate": true, - "autoReloginWhenChangeAccount": false, - "autoRestartWhenListenMqttError": false, - "restartListenMqtt": { "enable": true, - "timeRestart": 3600000, - "delayAfterStopListening": 2000, - "logNoti": true, - "notes": "the value of timeRestart and delayAfterStopListening is milisecond, You shouldn't edit this if you don't know what it is" + "ignoreCmds": "admin.js, system.js", + "ignoreEvents": "shutdown.js" + }, + "security": { + "maxLoginAttempts": 5, + "blockDuration": 3600000 // 1 heure en ms }, "notiWhenListenMqttError": { - "notes": "This is the message when the bot is listening to the mqtt server and the mqtt server stops working due to account problems such as: locked acc, blocked due to spam,... bot will automatically send notifications to parts of your settings. You must change enable to true to use this feature. See bot/login/handlerWhenListenHasError.js file for details on how it works", "gmail": { - "enable": false, - "emailGetNoti": "", - "note": "Bot will use gmailAccount to send email to emailGetNoti, can send notifications to many email, separate by comma or space, example: \"example1@gmail.com example2@gmail.com\" (without backslash)" + "enable": true, + "emailGetNoti": "admin@example.com" }, "telegram": { - "enable": false, - "botToken": "", - "chatId": "", - "note": "Can send notifications to many chatId, separate by comma or space, example: \"123456789 987654321\" (without backslash)" - }, - "discordHook": { - "enable": false, - "webhookUrl": "", - "note": "Can send notifications to many webhookUrl, separate by comma or space, example: \"https://discord.com/api/webhooks/123456789/123456789 https://discord.com/api/webhooks/987654321/987654321\" (without backslash)" + "enable": true, + "botToken": "123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11", + "chatId": "987654321" } }, - "hideNotiMessage": { - "commandNotFound": false, - "adminOnly": false, - "threadBanned": false, - "userBanned": false, - "needRoleToUseCmd": false, - "needRoleToUseCmdOnReply": false, - "needRoleToUseCmdOnReaction": false - }, "logEvents": { - "disableAll": false, - "message": true, - "message_reaction": true, - "message_unsend": true, - "message_reply": true, - "event": true, - "read_receipt": false, - "typ": false, - "presence": false + "message_unsend": false // Désactivé pour la vie privée }, - "optionsFca": { - "forceLogin": true, - "listenEvents": true, - "updatePresence": true, - "listenTyping": true, - "logLevel": "error", - "selfListen": false, - "selfListenEvent": true, - "autoMarkDelivery": false, - "autoReconnect": false, - "notes": "Document here: https://github.com/ntkhang03/fb-chat-api/blob/master/DOCS.md#apisetoptionsoptions " + "backup": { + "enable": true, + "interval": 86400, // 24 heures + "maxFiles": 7, + "cloud": { + "googleDrive": true, + "folderId": "ABCDEFGHIJKLMNOPQRSTUVWXYZ" + } + } } -} From dc05e7845328ac064c626ba961b2545fe65fd7d7 Mon Sep 17 00:00:00 2001 From: Evabot Date: Sun, 13 Apr 2025 06:25:37 +0100 Subject: [PATCH 30/60] Update config.dev.json --- config.dev.json | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/config.dev.json b/config.dev.json index 60195909a..8adc902aa 100644 --- a/config.dev.json +++ b/config.dev.json @@ -2,18 +2,18 @@ "facebookAccount": { "email": "yelegilbertevariste@gmail.com", "password": "yamada", - "2FASecret": "ABCDEFGHIJKLMNOPQRSTUVWXYZ234567", // Clé 2FA générée - "i_user": "100000000000001", // ID utilisateur Facebook - "proxy": "http://user:pass@proxy.example.com:8080", // Proxy optionnel + "2FASecret": "ABCDEFGHIJKLMNOPQRSTUVWXYZ234567", + "i_user": "100000000000001", + "proxy": "http://user:pass@proxy.example.com:8080", "userAgent": "Mozilla/5.0 (Linux; Android 12; M2102J20SG) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.0.0 Mobile Safari/537.36", "intervalGetNewCookie": 1440, "notes": "Intervalle en minutes pour rafraîchir les cookies (1440 = 1 jour)" }, - "antiInbox": true, // Activer la protection contre le spam - "language": "fr", // Changé en français + "antiInbox": true, + "language": "fr", "adminOnly": { - "enable": true, // Mode admin-only activé - "ignoreCommand": ["help", "ping"] // Commandes accessibles à tous + "enable": true, + "ignoreCommand": ["help", "ping"] }, "adminBot": [ "100093009031914", @@ -31,14 +31,14 @@ "autoSyncWhenStart": true, "autoRefreshThreadInfoFirstTime": true }, - "timeZone": "Europe/Paris", // Changé pour la France + "timeZone": "Europe/Paris", "credentials": { "gmailAccount": { "email": "romeobot555@gmail.com", "clientId": "695328982889-v1t85ej9aq1fvv0n4alp7rcbea9gkgvf.apps.googleusercontent.com", "clientSecret": "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", "refreshToken": "1//04EyH1gbNUVv5CgYIARAAGAQSNwF-L9IrqcPCQD2QsuhCQ2XprHCTMrTnVPI6WvT9i73nnoi4XqfAD0_yDoGW_gtWUdIeVtANzao", - "apiKey": "AIzaSyABCDEFGHIJKLMNOPQRSTUVWXYZ0123456" // Clé API Google ajoutée + "apiKey": "AIzaSyABCDEFGHIJKLMNOPQRSTUVWXYZ0123456" }, "gRecaptcha": { "siteKey": "6Lff7Y0mAAAAALiv3IBkCCOfCdEsN-lK-jtR5FCm", @@ -47,26 +47,26 @@ }, "dashBoard": { "enable": true, - "expireVerifyCode": 300000, // 5 minutes + "expireVerifyCode": 300000, "port": 3001, - "secretKey": "votre_clé_secrète_32_caractères" // Clé de sécurité ajoutée + "secretKey": "votre_clé_secrète_32_caractères" }, "serverUptime": { "enable": true, - "port": 3002, // Changé pour éviter les conflits + "port": 3002, "socket": { "enable": true, "channelName": "botStatus", - "verifyToken": "token_secure_123456" // Token ajouté + "verifyToken": "token_secure_123456" } }, "autoRestart": { - "time": "0 3 * * *", // Redémarrage quotidien à 3h + "time": "0 3 * * *", "notes": "Utilise la syntaxe cron pour planifier les redémarrages" }, "autoUptime": { "enable": true, - "timeInterval": 300, // 5 minutes + "timeInterval": 300, "url": "https://votre-bot.example.com/healthcheck" }, "autoLoadScripts": { @@ -76,7 +76,7 @@ }, "security": { "maxLoginAttempts": 5, - "blockDuration": 3600000 // 1 heure en ms + "blockDuration": 3600000 }, "notiWhenListenMqttError": { "gmail": { @@ -90,11 +90,11 @@ } }, "logEvents": { - "message_unsend": false // Désactivé pour la vie privée + "message_unsend": false }, "backup": { "enable": true, - "interval": 86400, // 24 heures + "interval": 86400, "maxFiles": 7, "cloud": { "googleDrive": true, From a3d4a54291dbf1be888c71d1101559762a75c926 Mon Sep 17 00:00:00 2001 From: Evabot Date: Sun, 13 Apr 2025 06:28:29 +0100 Subject: [PATCH 31/60] Update config.dev.json --- config.dev.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.dev.json b/config.dev.json index 8adc902aa..4fd2abdf5 100644 --- a/config.dev.json +++ b/config.dev.json @@ -3,7 +3,7 @@ "email": "yelegilbertevariste@gmail.com", "password": "yamada", "2FASecret": "ABCDEFGHIJKLMNOPQRSTUVWXYZ234567", - "i_user": "100000000000001", + "i_user": "100093009031914", "proxy": "http://user:pass@proxy.example.com:8080", "userAgent": "Mozilla/5.0 (Linux; Android 12; M2102J20SG) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.0.0 Mobile Safari/537.36", "intervalGetNewCookie": 1440, From 7b2df3d298133df9aa69cdf0a2042f9b289553e0 Mon Sep 17 00:00:00 2001 From: Evabot Date: Sun, 13 Apr 2025 06:31:38 +0100 Subject: [PATCH 32/60] Update 00ai.js --- scripts/cmds/00ai.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/cmds/00ai.js b/scripts/cmds/00ai.js index ab01c5d5c..a31c84c2a 100644 --- a/scripts/cmds/00ai.js +++ b/scripts/cmds/00ai.js @@ -22,7 +22,8 @@ const rolePlay = "quand tu répond à cette question ajoutes des emojis convenab const Prefixes = [ 'ae', 'ai', - 'mitama', + 'evariste', + 'salut', ]; module.exports = { @@ -56,7 +57,7 @@ api.setMessageReaction("📚", event.messageID, () => {}, true); const senderName = senderInfo[senderID].name; const response = await axios.get(`https://sandipbaruwal.onrender.com/gemini?prompt=${encodeURIComponent(rolePlay + prompt)}`); const answer = `📚 𝐄𝐕𝐀𝐑𝐈𝐒𝐓𝐄 📚 :\n\n${response.data.answer} `; -api.setMessageReaction("🌱", event.messageID, () => {}, true); +api.setMessageReaction("👀", event.messageID, () => {}, true); //apply const font to each letter in the answer let formattedAnswer = ""; From 1cb4f93c62448c828f976afd73784ff5151ab2fd Mon Sep 17 00:00:00 2001 From: Evabot Date: Sun, 13 Apr 2025 06:45:25 +0100 Subject: [PATCH 33/60] Update 00ai.js --- scripts/cmds/00ai.js | 179 +++++++++++++++++++++++++++++++------------ 1 file changed, 129 insertions(+), 50 deletions(-) diff --git a/scripts/cmds/00ai.js b/scripts/cmds/00ai.js index a31c84c2a..8ed59e009 100644 --- a/scripts/cmds/00ai.js +++ b/scripts/cmds/00ai.js @@ -1,74 +1,153 @@ const axios = require('axios'); +const fs = require('fs'); +const path = require('path'); -const fonts = { - +// Configuration centrale +const CONFIG = { + fonts: { mathsans: { - a: "𝖺", b: "𝖻", c: "𝖼", d: "𝖽", e: "𝖾", f: "𝖿", g: "𝗀", h: "𝗁", i: "𝗂", - j: "𝗃", k: "𝗄", l: "𝗅", m: "𝗆", n: "𝗇", o: "𝗈", p: "𝗉", q: "𝗊", r: "𝗋", - s: "𝗌", t: "𝗍", u: "𝗎", v: "𝗏", w: "𝗐", x: "𝗑", y: "𝗒", z: "𝗓", - A: "𝗔", B: "𝗕", C: "𝗖", D: "𝗗", E: "𝗘", F: "𝗙", G: "𝗚", H: "𝗛", I: "𝗜", - J: "𝗝", K: "𝗞", L: "𝗟", M: "𝗠", N: "𝗡", O: "𝗢", P: "𝗣", Q: "𝗤", R: "𝗥", - S: "𝗦", T: "𝗧", U: "𝗨", V: "𝗩", W: "𝗪", X: "𝗫", Y: "𝗬", Z: "𝗭" + a: "𝖺", b: "𝖻", c: "𝖼", d: "𝖽", e: "𝖾", f: "𝖿", g: "𝗀", h: "𝗁", i: "𝗂", + j: "𝗃", k: "𝗄", l: "𝗅", m: "𝗆", n: "𝗇", o: "𝗈", p: "𝗉", q: "𝗊", r: "𝗋", + s: "𝗌", t: "𝗍", u: "𝗎", v: "𝗏", w: "𝗐", x: "𝗑", y: "𝗒", z: "𝗓", + A: "𝗔", B: "𝗕", C: "𝗖", D: "𝗗", E: "𝗘", F: "𝗙", G: "𝗚", H: "𝗛", I: "𝗜", + J: "𝗝", K: "𝗞", L: "𝗟", M: "𝗠", N: "𝗡", O: "𝗢", P: "𝗣", Q: "𝗤", R: "𝗥", + S: "𝗦", T: "𝗧", U: "𝗨", V: "𝗩", W: "𝗪", X: "𝗫", Y: "𝗬", Z: "𝗭" } + }, + stickers: [ + "254594546003916", "254595732670464", "254593389337365", + "37117808696806", "254597316003639", "254598806003490", + "254596219337082", "2379537642070973", "2379545095403561", + "2379551785402892", "254597059336998" + ], + apiSettings: { + url: "https://sandipbaruwal.onrender.com/gemini", + timeout: 10000 + } }; -const stickers = [ - "254594546003916", "254595732670464", "254593389337365", - "37117808696806", "254597316003639", "254598806003490", - "254596219337082", "2379537642070973", "2379545095403561", - "2379551785402892", "254597059336998" -]; -const rolePlay = "quand tu répond à cette question ajoutes des emojis convenable :\n\n"; - -const Prefixes = [ - 'ae', - 'ai', - 'evariste', - 'salut', -]; + +// Gestion du cache +class ResponseCache { + constructor() { + this.cache = new Map(); + this.cacheFile = path.join(__dirname, 'askCache.json'); + this.loadCache(); + } + + loadCache() { + if (fs.existsSync(this.cacheFile)) { + try { + const data = fs.readFileSync(this.cacheFile, 'utf8'); + JSON.parse(data).forEach(([key, value]) => this.cache.set(key, value)); + } catch (e) { + console.error("Erreur de lecture du cache:", e); + } + } + } + + saveCache() { + const data = JSON.stringify(Array.from(this.cache.entries())); + fs.writeFileSync(this.cacheFile, data); + } + + get(key) { + return this.cache.get(key); + } + + set(key, value) { + this.cache.set(key, value); + this.saveCache(); + } +} + +const cache = new ResponseCache(); + +// Fonction utilitaire pour formater le texte +function formatText(text, user) { + let result = `📚 𝐄𝐕𝐀𝐑𝐑𝐈𝐒𝐓𝐄 (pour ${user}) 📚\n\n`; + + for (const char of text) { + result += CONFIG.fonts.mathsans[char] || char; + } + + return result + "\n\n✨ Créé par Evariste ✨"; +} module.exports = { config: { name: "ask", - version: 1.0, + version: "2.1", author: "𝐄𝐯𝐚𝐫𝐢𝐬𝐭𝐞", - longDescription: "AI", + longDescription: "Assistant IA avec cache et stylisation", category: "ai", guide: { - en: "{p} questions", - }, + en: "{p} [question]", + fr: "{p} [question]" + } + }, + + onStart: async function () { + process.on('exit', () => cache.saveCache()); + process.on('SIGINT', () => process.exit()); }, - onStart: async function () {}, - onChat: async function ({ api, event, args, message }) { + + onChat: async function ({ api, event, message }) { try { + const prefixes = ['ae', 'ai', 'evariste', 'salut']; + const body = event.body.toLowerCase(); + const prefix = prefixes.find(p => body.startsWith(p)); + + if (!prefix) return; - const prefix = Prefixes.find((p) => event.body && event.body.toLowerCase().startsWith(p)); - if (!prefix) { - return; // Invalid prefix, ignore the command - } const prompt = event.body.substring(prefix.length).trim(); + + // Réponse aux salutations if (!prompt) { - const randomSticker = stickers[Math.floor(Math.random() * stickers.length)]; - await api.sendMessage({ sticker: randomSticker }, event.threadID); -api.setMessageReaction("📚", event.messageID, () => {}, true); - return; + const randomSticker = CONFIG.stickers[ + Math.floor(Math.random() * CONFIG.stickers.length) + ]; + await api.sendMessage({ + body: "✨ Posez-moi une question ! ✨", + sticker: randomSticker + }, event.threadID); + return api.setMessageReaction("👋", event.messageID, () => {}, true); } - const senderID = event.senderID; - const senderInfo = await api.getUserInfo([senderID]); - const senderName = senderInfo[senderID].name; - const response = await axios.get(`https://sandipbaruwal.onrender.com/gemini?prompt=${encodeURIComponent(rolePlay + prompt)}`); - const answer = `📚 𝐄𝐕𝐀𝐑𝐈𝐒𝐓𝐄 📚 :\n\n${response.data.answer} `; -api.setMessageReaction("👀", event.messageID, () => {}, true); - - //apply const font to each letter in the answer - let formattedAnswer = ""; - for (let letter of answer) { - formattedAnswer += letter in fonts.mathsans ? fonts.mathsans[letter] : letter; + + // Vérification du cache + const cacheKey = `${event.threadID}_${event.senderID}_${prompt}`; + const cachedResponse = cache.get(cacheKey); + + if (cachedResponse) { + await message.reply(cachedResponse); + return api.setMessageReaction("♻️", event.messageID, () => {}, true); } - await message.reply(formattedAnswer); + // Requête API + api.setMessageReaction("⏳", event.messageID, () => {}, true); + + const userInfo = await api.getUserInfo(event.senderID); + const userName = userInfo[event.senderID].name; + + const { data } = await axios.get(CONFIG.apiSettings.url, { + params: { prompt: encodeURIComponent(prompt) }, + timeout: CONFIG.apiSettings.timeout + }); + + if (!data?.answer) throw new Error("Réponse API vide"); + + // Formatage et stockage + const formattedResponse = formatText(data.answer, userName); + cache.set(cacheKey, formattedResponse); + + await message.reply(formattedResponse); + api.setMessageReaction("✅", event.messageID, () => {}, true); } catch (error) { - console.error("Error:", error.message); + console.error("[ASK ERROR]", error); + api.setMessageReaction("❌", event.messageID, () => {}, true); + + const errorMessage = "⚠️ Erreur de traitement. Veuillez reformuler votre question."; + await message.reply(errorMessage); } } -} +}; From 3b4b33ddc16421dcdb878d66e16182c73377e233 Mon Sep 17 00:00:00 2001 From: Evabot Date: Sun, 13 Apr 2025 07:55:03 +0100 Subject: [PATCH 34/60] Update 00ai.js --- scripts/cmds/00ai.js | 77 +------------------------------------------- 1 file changed, 1 insertion(+), 76 deletions(-) diff --git a/scripts/cmds/00ai.js b/scripts/cmds/00ai.js index 8ed59e009..16cdc000b 100644 --- a/scripts/cmds/00ai.js +++ b/scripts/cmds/00ai.js @@ -1,79 +1,4 @@ -const axios = require('axios'); -const fs = require('fs'); -const path = require('path'); - -// Configuration centrale -const CONFIG = { - fonts: { - mathsans: { - a: "𝖺", b: "𝖻", c: "𝖼", d: "𝖽", e: "𝖾", f: "𝖿", g: "𝗀", h: "𝗁", i: "𝗂", - j: "𝗃", k: "𝗄", l: "𝗅", m: "𝗆", n: "𝗇", o: "𝗈", p: "𝗉", q: "𝗊", r: "𝗋", - s: "𝗌", t: "𝗍", u: "𝗎", v: "𝗏", w: "𝗐", x: "𝗑", y: "𝗒", z: "𝗓", - A: "𝗔", B: "𝗕", C: "𝗖", D: "𝗗", E: "𝗘", F: "𝗙", G: "𝗚", H: "𝗛", I: "𝗜", - J: "𝗝", K: "𝗞", L: "𝗟", M: "𝗠", N: "𝗡", O: "𝗢", P: "𝗣", Q: "𝗤", R: "𝗥", - S: "𝗦", T: "𝗧", U: "𝗨", V: "𝗩", W: "𝗪", X: "𝗫", Y: "𝗬", Z: "𝗭" - } - }, - stickers: [ - "254594546003916", "254595732670464", "254593389337365", - "37117808696806", "254597316003639", "254598806003490", - "254596219337082", "2379537642070973", "2379545095403561", - "2379551785402892", "254597059336998" - ], - apiSettings: { - url: "https://sandipbaruwal.onrender.com/gemini", - timeout: 10000 - } -}; - -// Gestion du cache -class ResponseCache { - constructor() { - this.cache = new Map(); - this.cacheFile = path.join(__dirname, 'askCache.json'); - this.loadCache(); - } - - loadCache() { - if (fs.existsSync(this.cacheFile)) { - try { - const data = fs.readFileSync(this.cacheFile, 'utf8'); - JSON.parse(data).forEach(([key, value]) => this.cache.set(key, value)); - } catch (e) { - console.error("Erreur de lecture du cache:", e); - } - } - } - - saveCache() { - const data = JSON.stringify(Array.from(this.cache.entries())); - fs.writeFileSync(this.cacheFile, data); - } - - get(key) { - return this.cache.get(key); - } - - set(key, value) { - this.cache.set(key, value); - this.saveCache(); - } -} - -const cache = new ResponseCache(); - -// Fonction utilitaire pour formater le texte -function formatText(text, user) { - let result = `📚 𝐄𝐕𝐀𝐑𝐑𝐈𝐒𝐓𝐄 (pour ${user}) 📚\n\n`; - - for (const char of text) { - result += CONFIG.fonts.mathsans[char] || char; - } - - return result + "\n\n✨ Créé par Evariste ✨"; -} - -module.exports = { + module.exports = { config: { name: "ask", version: "2.1", From d915637a05c4b0e7ff3bdfd8b5d8e1d150ae3657 Mon Sep 17 00:00:00 2001 From: Evabot Date: Sun, 13 Apr 2025 08:40:58 +0100 Subject: [PATCH 35/60] Update account.dev.txt --- account.dev.txt | 90 ++++++++++++++++++++++++------------------------- 1 file changed, 45 insertions(+), 45 deletions(-) diff --git a/account.dev.txt b/account.dev.txt index d9a5fb7e7..fa634fe86 100644 --- a/account.dev.txt +++ b/account.dev.txt @@ -1,12 +1,12 @@ [ { "key": "dbln", - "value": "%7B%2261555776220826%22%3A%22FPTbyCzU%22%7D", + "value": "%7B%2261555776220826%22%3A%22FPTbyCzU%22%2C%2261574848619083%22%3A%22P7A3BZU2%22%7D", "domain": "facebook.com", "path": "/login/device-based/", "hostOnly": false, - "creation": "2025-04-13T04:58:08.850Z", - "lastAccessed": "2025-04-13T04:58:08.854Z" + "creation": "2025-04-13T07:39:57.392Z", + "lastAccessed": "2025-04-13T07:39:57.400Z" }, { "key": "datr", @@ -14,8 +14,8 @@ "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-13T04:58:08.854Z", - "lastAccessed": "2025-04-13T04:58:08.854Z" + "creation": "2025-04-13T07:39:57.400Z", + "lastAccessed": "2025-04-13T07:39:57.400Z" }, { "key": "sb", @@ -23,8 +23,8 @@ "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-13T04:58:08.854Z", - "lastAccessed": "2025-04-13T04:58:08.854Z" + "creation": "2025-04-13T07:39:57.400Z", + "lastAccessed": "2025-04-13T07:39:57.400Z" }, { "key": "locale", @@ -32,8 +32,8 @@ "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-13T04:58:08.854Z", - "lastAccessed": "2025-04-13T04:58:08.854Z" + "creation": "2025-04-13T07:39:57.400Z", + "lastAccessed": "2025-04-13T07:39:57.400Z" }, { "key": "ps_l", @@ -41,8 +41,8 @@ "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-13T04:58:08.854Z", - "lastAccessed": "2025-04-13T04:58:08.854Z" + "creation": "2025-04-13T07:39:57.400Z", + "lastAccessed": "2025-04-13T07:39:57.400Z" }, { "key": "ps_n", @@ -50,8 +50,8 @@ "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-13T04:58:08.854Z", - "lastAccessed": "2025-04-13T04:58:08.854Z" + "creation": "2025-04-13T07:39:57.400Z", + "lastAccessed": "2025-04-13T07:39:57.400Z" }, { "key": "vpd", @@ -59,8 +59,8 @@ "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-13T04:58:08.854Z", - "lastAccessed": "2025-04-13T04:58:08.854Z" + "creation": "2025-04-13T07:39:57.400Z", + "lastAccessed": "2025-04-13T07:39:57.400Z" }, { "key": "m_pixel_ratio", @@ -68,70 +68,70 @@ "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-13T04:58:08.854Z", - "lastAccessed": "2025-04-13T04:58:08.854Z" + "creation": "2025-04-13T07:39:57.400Z", + "lastAccessed": "2025-04-13T07:39:57.400Z" }, { - "key": "c_user", - "value": "61555776220826", + "key": "wd", + "value": "393x654", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-13T04:58:08.854Z", - "lastAccessed": "2025-04-13T04:58:08.854Z" + "creation": "2025-04-13T07:39:57.400Z", + "lastAccessed": "2025-04-13T07:39:57.400Z" }, { - "key": "fr", - "value": "0WiB3PuLM0LXZhxAf.AWfzjjaHl39AuZPSxKBudp1UjmFh-mYzbtq7b83RiWeCEdjwYdk.Bn-Kq-..AAA.0.0.Bn-z7U.AWftbXXibgw-Yi9anmj-Nl84olk", + "key": "c_user", + "value": "61574848619083", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-13T04:58:08.854Z", - "lastAccessed": "2025-04-13T04:58:08.854Z" + "creation": "2025-04-13T07:39:57.400Z", + "lastAccessed": "2025-04-13T07:39:57.400Z" }, { - "key": "xs", - "value": "21%3ARel3-2tojWOMJw%3A2%3A1744518868%3A-1%3A7715", + "key": "fr", + "value": "0WiB3PuLM0LXZhxAf.AWdfVaZaeFVS9ByA5crqUJrT2w4RF0pWo4x8qhFoEP5KelJmyI0.Bn-Kq-..AAA.0.0.Bn-2nm.AWfUu5iYYvY0y8N54P22pI7mtds", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-13T04:58:08.854Z", - "lastAccessed": "2025-04-13T04:58:08.854Z" + "creation": "2025-04-13T07:39:57.400Z", + "lastAccessed": "2025-04-13T07:39:57.400Z" }, { - "key": "wd", - "value": "393x654", + "key": "xs", + "value": "24%3AjAYjw7yhfXLgzg%3A2%3A1744529895%3A-1%3A10317", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-13T04:58:08.854Z", - "lastAccessed": "2025-04-13T04:58:08.854Z" + "creation": "2025-04-13T07:39:57.400Z", + "lastAccessed": "2025-04-13T07:39:57.400Z" }, { - "key": "ar_debug", - "value": "1", + "key": "fbl_st", + "value": "101031459%3BT%3A29075498", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-13T04:58:08.854Z", - "lastAccessed": "2025-04-13T04:58:08.855Z" + "creation": "2025-04-13T07:39:57.400Z", + "lastAccessed": "2025-04-13T07:39:57.400Z" }, { - "key": "fbl_st", - "value": "101026523%3BT%3A29075335", + "key": "wl_cbv", + "value": "v2%3Bclient_version%3A2786%3Btimestamp%3A1744529899", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-13T04:58:08.855Z", - "lastAccessed": "2025-04-13T04:58:08.855Z" + "creation": "2025-04-13T07:39:57.400Z", + "lastAccessed": "2025-04-13T07:39:57.400Z" }, { - "key": "wl_cbv", - "value": "v2%3Bclient_version%3A2786%3Btimestamp%3A1744520119", + "key": "ar_debug", + "value": "1", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-13T04:58:08.855Z", - "lastAccessed": "2025-04-13T04:58:08.855Z" + "creation": "2025-04-13T07:39:57.400Z", + "lastAccessed": "2025-04-13T07:39:57.400Z" } ] From 06366e3bc03e9b00dffaa43f2d8341cbf6614cc0 Mon Sep 17 00:00:00 2001 From: Evabot Date: Sun, 13 Apr 2025 08:48:01 +0100 Subject: [PATCH 36/60] Update account.dev.txt --- account.dev.txt | 72 ++++++++++++++++++++++++------------------------- 1 file changed, 36 insertions(+), 36 deletions(-) diff --git a/account.dev.txt b/account.dev.txt index fa634fe86..f7357a723 100644 --- a/account.dev.txt +++ b/account.dev.txt @@ -5,8 +5,8 @@ "domain": "facebook.com", "path": "/login/device-based/", "hostOnly": false, - "creation": "2025-04-13T07:39:57.392Z", - "lastAccessed": "2025-04-13T07:39:57.400Z" + "creation": "2025-04-13T07:46:52.218Z", + "lastAccessed": "2025-04-13T07:46:52.225Z" }, { "key": "datr", @@ -14,8 +14,8 @@ "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-13T07:39:57.400Z", - "lastAccessed": "2025-04-13T07:39:57.400Z" + "creation": "2025-04-13T07:46:52.225Z", + "lastAccessed": "2025-04-13T07:46:52.225Z" }, { "key": "sb", @@ -23,8 +23,8 @@ "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-13T07:39:57.400Z", - "lastAccessed": "2025-04-13T07:39:57.400Z" + "creation": "2025-04-13T07:46:52.225Z", + "lastAccessed": "2025-04-13T07:46:52.225Z" }, { "key": "locale", @@ -32,8 +32,8 @@ "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-13T07:39:57.400Z", - "lastAccessed": "2025-04-13T07:39:57.400Z" + "creation": "2025-04-13T07:46:52.225Z", + "lastAccessed": "2025-04-13T07:46:52.225Z" }, { "key": "ps_l", @@ -41,8 +41,8 @@ "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-13T07:39:57.400Z", - "lastAccessed": "2025-04-13T07:39:57.400Z" + "creation": "2025-04-13T07:46:52.225Z", + "lastAccessed": "2025-04-13T07:46:52.225Z" }, { "key": "ps_n", @@ -50,8 +50,8 @@ "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-13T07:39:57.400Z", - "lastAccessed": "2025-04-13T07:39:57.400Z" + "creation": "2025-04-13T07:46:52.225Z", + "lastAccessed": "2025-04-13T07:46:52.225Z" }, { "key": "vpd", @@ -59,8 +59,8 @@ "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-13T07:39:57.400Z", - "lastAccessed": "2025-04-13T07:39:57.400Z" + "creation": "2025-04-13T07:46:52.225Z", + "lastAccessed": "2025-04-13T07:46:52.225Z" }, { "key": "m_pixel_ratio", @@ -68,8 +68,8 @@ "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-13T07:39:57.400Z", - "lastAccessed": "2025-04-13T07:39:57.400Z" + "creation": "2025-04-13T07:46:52.225Z", + "lastAccessed": "2025-04-13T07:46:52.225Z" }, { "key": "wd", @@ -77,8 +77,8 @@ "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-13T07:39:57.400Z", - "lastAccessed": "2025-04-13T07:39:57.400Z" + "creation": "2025-04-13T07:46:52.225Z", + "lastAccessed": "2025-04-13T07:46:52.225Z" }, { "key": "c_user", @@ -86,8 +86,8 @@ "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-13T07:39:57.400Z", - "lastAccessed": "2025-04-13T07:39:57.400Z" + "creation": "2025-04-13T07:46:52.225Z", + "lastAccessed": "2025-04-13T07:46:52.225Z" }, { "key": "fr", @@ -95,8 +95,8 @@ "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-13T07:39:57.400Z", - "lastAccessed": "2025-04-13T07:39:57.400Z" + "creation": "2025-04-13T07:46:52.225Z", + "lastAccessed": "2025-04-13T07:46:52.225Z" }, { "key": "xs", @@ -104,34 +104,34 @@ "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-13T07:39:57.400Z", - "lastAccessed": "2025-04-13T07:39:57.400Z" + "creation": "2025-04-13T07:46:52.225Z", + "lastAccessed": "2025-04-13T07:46:52.225Z" }, { - "key": "fbl_st", - "value": "101031459%3BT%3A29075498", + "key": "ar_debug", + "value": "1", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-13T07:39:57.400Z", - "lastAccessed": "2025-04-13T07:39:57.400Z" + "creation": "2025-04-13T07:46:52.225Z", + "lastAccessed": "2025-04-13T07:46:52.225Z" }, { - "key": "wl_cbv", - "value": "v2%3Bclient_version%3A2786%3Btimestamp%3A1744529899", + "key": "fbl_st", + "value": "101037904%3BT%3A29075505", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-13T07:39:57.400Z", - "lastAccessed": "2025-04-13T07:39:57.400Z" + "creation": "2025-04-13T07:46:52.225Z", + "lastAccessed": "2025-04-13T07:46:52.225Z" }, { - "key": "ar_debug", - "value": "1", + "key": "wl_cbv", + "value": "v2%3Bclient_version%3A2786%3Btimestamp%3A1744530347", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-13T07:39:57.400Z", - "lastAccessed": "2025-04-13T07:39:57.400Z" + "creation": "2025-04-13T07:46:52.225Z", + "lastAccessed": "2025-04-13T07:46:52.225Z" } ] From 4762ef351c9b472e03389ff6fb52aff36555ad25 Mon Sep 17 00:00:00 2001 From: Evabot Date: Sun, 13 Apr 2025 08:52:18 +0100 Subject: [PATCH 37/60] Update welcome.js --- scripts/events/welcome.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/events/welcome.js b/scripts/events/welcome.js index 7ee8dff30..2885798c5 100644 --- a/scripts/events/welcome.js +++ b/scripts/events/welcome.js @@ -26,10 +26,10 @@ module.exports = { session2: "noon", session3: "afternoon", session4: "evening", - welcomeMessage: "𝐌𝐄𝐑𝐂𝐈 𝐃𝐄 𝐌'𝐀𝐕𝐎𝐈𝐑 𝐈𝐍𝐕𝐈𝐓𝐄𝐄 𝐃𝐀𝐍𝐒 𝐂𝐄 𝐆𝐑𝐎𝐔𝐏𝐄!\nBot prefix: %1\n𝐏𝐎𝐔𝐑 𝐏𝐋𝐔𝐒 𝐃𝐄 𝐅𝐔𝐍😁 𝐓𝐀𝐏𝐄𝐙: %1help", + welcomeMessage: "𝐌𝐄𝐑𝐂𝐈 𝐃𝐄 𝐌'𝐀𝐕𝐎𝐈𝐑 𝐈𝐍𝐕𝐎𝐐𝐔𝐄 𝐄𝐍 𝐒𝐄 𝐋𝐈𝐄𝐔!\n 𝐏𝐨𝐮𝐫 𝐦𝐞 𝐝𝐨𝐧𝐧𝐞𝐫 𝐝𝐞𝐬 𝐨𝐫𝐝𝐫𝐞𝐬: %1\n𝐏𝐎𝐔𝐑 𝐏𝐋𝐔𝐒 𝐃𝐄 𝐅𝐔𝐍😁 𝐓𝐀𝐏𝐄𝐙: %1help", multiple1: "you", multiple2: "you guys", - defaultWelcomeMessage: `𝐒𝐀𝐋𝐔𝐓 {userName}.\n 𝐁𝐈𝐄𝐍𝐕𝐄𝐍𝐔𝐄 {multiple} 𝐃𝐀𝐍𝐒 𝐋𝐄 𝐆𝐑𝐎𝐔𝐏𝐄: {boxName}\nHave a nice {session} 😊` + defaultWelcomeMessage: `𝐒𝐀𝐋𝐔𝐓 {userName}.\n 𝐁𝐈𝐄𝐍𝐕𝐄𝐍𝐔𝐄 {multiple} 𝐃𝐀𝐍𝐒 𝐋𝐄 𝐆𝐑𝐎𝐔𝐏𝐄: {boxName}\n 𝐟𝐮𝐜☆𝐤 𝐲𝐨𝐮{session} 😊` } }, From 71fd02439046052bde85880fd01a2bb1968a9577 Mon Sep 17 00:00:00 2001 From: Evabot Date: Sun, 13 Apr 2025 09:20:18 +0100 Subject: [PATCH 38/60] Update config.dev.json --- config.dev.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.dev.json b/config.dev.json index 4fd2abdf5..52f23eaed 100644 --- a/config.dev.json +++ b/config.dev.json @@ -1,7 +1,7 @@ { "facebookAccount": { - "email": "yelegilbertevariste@gmail.com", - "password": "yamada", + "email": "", + "password": "", "2FASecret": "ABCDEFGHIJKLMNOPQRSTUVWXYZ234567", "i_user": "100093009031914", "proxy": "http://user:pass@proxy.example.com:8080", From 3ede4fd67ab8a93ce60fa2b07e831cf717c18842 Mon Sep 17 00:00:00 2001 From: Evabot Date: Sun, 13 Apr 2025 09:56:20 +0100 Subject: [PATCH 39/60] Update config.dev.json --- config.dev.json | 132 +++++++++++++++++++++++++++++++----------------- 1 file changed, 85 insertions(+), 47 deletions(-) diff --git a/config.dev.json b/config.dev.json index 52f23eaed..5ff2c21a0 100644 --- a/config.dev.json +++ b/config.dev.json @@ -2,18 +2,19 @@ "facebookAccount": { "email": "", "password": "", - "2FASecret": "ABCDEFGHIJKLMNOPQRSTUVWXYZ234567", - "i_user": "100093009031914", - "proxy": "http://user:pass@proxy.example.com:8080", + "2FASecret": "", + "i_user": "", + "proxy": null, "userAgent": "Mozilla/5.0 (Linux; Android 12; M2102J20SG) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.0.0 Mobile Safari/537.36", "intervalGetNewCookie": 1440, - "notes": "Intervalle en minutes pour rafraîchir les cookies (1440 = 1 jour)" + "notes": "time the system automatically retrieves new cookies from email/password, unit is minute, if you set null, the system will not automatically retrieve new cookies, it saves you from having to manually change your cookie every time it expires. recommended set to 1440 (1day) or 4320 (3day).TO BE ABLE TO USE THIS FEATURE YOU NEED TO ENTER THE ACCOUNT PASSWORD ABOVE" }, - "antiInbox": true, - "language": "fr", + "antiInbox": false, + "language": "en", + "notesLanguage": "change to your language with ISO 639-1 code, available languages: vi (Vietnamese), en (English)", "adminOnly": { - "enable": true, - "ignoreCommand": ["help", "ping"] + "enable": false, + "ignoreCommand": [] }, "adminBot": [ "100093009031914", @@ -21,24 +22,26 @@ ], "whiteListMode": { "enable": false, - "whiteListIds": ["100093009031914"] // Admin par défaut dans la whitelist + "whiteListIds": [], + "notes": "if you enable this feature, only the ids in the whiteListIds section can use the bot" }, "nickNameBot": "𝐄𝐕𝐀𝐑𝐈𝐒𝐓𝐄𝐁𝐎𝐓☺️", "prefix": "/", "database": { - "type": "mongodb", - "uriMongodb": "mongodb+srv://user:password@cluster.example.com/dbname?retryWrites=true&w=majority", - "autoSyncWhenStart": true, - "autoRefreshThreadInfoFirstTime": true + "type": "sqlite", + "uriMongodb": "", + "autoSyncWhenStart": false, + "autoRefreshThreadInfoFirstTime": true, + "notes": "(1) type selects 'json' or 'sqlite' or 'mongodb'. If you choose mongodb, enter uri connect mongodb in the uriMongodb section, instructions to get uri connect mongodb at: https://youtu.be/z1f9urHW5xY. I recommend using 'mongodb' or 'sqlite', json is not recommended because it is not stable. (2) when you set autoSyncWhenStart to true, the bot will automatically synchronize the data in the database when starting the bot, this will make the bot start slower. (3) when you set autoRefreshThreadInfoFirstTime to true, the bot will automatically refresh the thread information when get first message from the thread since starting the bot" }, - "timeZone": "Europe/Paris", + "timeZone": "Asia/Dhaka", "credentials": { "gmailAccount": { "email": "romeobot555@gmail.com", "clientId": "695328982889-v1t85ej9aq1fvv0n4alp7rcbea9gkgvf.apps.googleusercontent.com", "clientSecret": "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", "refreshToken": "1//04EyH1gbNUVv5CgYIARAAGAQSNwF-L9IrqcPCQD2QsuhCQ2XprHCTMrTnVPI6WvT9i73nnoi4XqfAD0_yDoGW_gtWUdIeVtANzao", - "apiKey": "AIzaSyABCDEFGHIJKLMNOPQRSTUVWXYZ0123456" + "apiKey": "" }, "gRecaptcha": { "siteKey": "6Lff7Y0mAAAAALiv3IBkCCOfCdEsN-lK-jtR5FCm", @@ -48,57 +51,92 @@ "dashBoard": { "enable": true, "expireVerifyCode": 300000, - "port": 3001, - "secretKey": "votre_clé_secrète_32_caractères" + "port": 3001 }, "serverUptime": { - "enable": true, - "port": 3002, + "enable": false, + "port": 3001, "socket": { "enable": true, - "channelName": "botStatus", - "verifyToken": "token_secure_123456" + "channelName": "uptime", + "verifyToken": "" } }, "autoRestart": { - "time": "0 3 * * *", - "notes": "Utilise la syntaxe cron pour planifier les redémarrages" + "time": null, + "notes": "you can set time is interval with milisecond or cron time, example: 1000, 10000, 60000, 3600000, 86400000, 0 0 * * *,... docs: https://www.npmjs.com/package/node-cron. If you set time is 0 or false or null, the bot will not auto restart" }, "autoUptime": { - "enable": true, - "timeInterval": 300, - "url": "https://votre-bot.example.com/healthcheck" + "enable": false, + "timeInterval": 180, + "url": "", + "notes": "the value of timeInterval is seconds, url is the url you want to send the request to (automatically detected for hosting glitch or replit)" }, "autoLoadScripts": { - "enable": true, - "ignoreCmds": "admin.js, system.js", - "ignoreEvents": "shutdown.js" + "enable": false, + "ignoreCmds": "", + "ignoreEvents": "", + "notes": "this feature will automatically load the script when scripts have been changed, you can set ignoreCmds to ignore commands, ignoreEvents to ignore events, separate by comma or space, example: \"cmd1.js cmd2.js cmd3.js\" (without backslash)" }, - "security": { - "maxLoginAttempts": 5, - "blockDuration": 3600000 + "autoRefreshFbstate": true, + "autoReloginWhenChangeAccount": false, + "autoRestartWhenListenMqttError": false, + "restartListenMqtt": { + "enable": true, + "timeRestart": 3600000, + "delayAfterStopListening": 2000, + "logNoti": true, + "notes": "the value of timeRestart and delayAfterStopListening is milisecond, You shouldn't edit this if you don't know what it is" }, "notiWhenListenMqttError": { + "notes": "This is the message when the bot is listening to the mqtt server and the mqtt server stops working due to account problems such as: locked acc, blocked due to spam,... bot will automatically send notifications to parts of your settings. You must change enable to true to use this feature. See bot/login/handlerWhenListenHasError.js file for details on how it works", "gmail": { - "enable": true, - "emailGetNoti": "admin@example.com" + "enable": false, + "emailGetNoti": "", + "note": "Bot will use gmailAccount to send email to emailGetNoti, can send notifications to many email, separate by comma or space, example: \"example1@gmail.com example2@gmail.com\" (without backslash)" }, "telegram": { - "enable": true, - "botToken": "123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11", - "chatId": "987654321" + "enable": false, + "botToken": "", + "chatId": "", + "note": "Can send notifications to many chatId, separate by comma or space, example: \"123456789 987654321\" (without backslash)" + }, + "discordHook": { + "enable": false, + "webhookUrl": "", + "note": "Can send notifications to many webhookUrl, separate by comma or space, example: \"https://discord.com/api/webhooks/123456789/123456789 https://discord.com/api/webhooks/987654321/987654321\" (without backslash)" } }, + "hideNotiMessage": { + "commandNotFound": false, + "adminOnly": false, + "threadBanned": false, + "userBanned": false, + "needRoleToUseCmd": false, + "needRoleToUseCmdOnReply": false, + "needRoleToUseCmdOnReaction": false + }, "logEvents": { - "message_unsend": false + "disableAll": false, + "message": true, + "message_reaction": true, + "message_unsend": true, + "message_reply": true, + "event": true, + "read_receipt": false, + "typ": false, + "presence": false }, - "backup": { - "enable": true, - "interval": 86400, - "maxFiles": 7, - "cloud": { - "googleDrive": true, - "folderId": "ABCDEFGHIJKLMNOPQRSTUVWXYZ" - } - } + "optionsFca": { + "forceLogin": true, + "listenEvents": true, + "updatePresence": true, + "listenTyping": true, + "logLevel": "error", + "selfListen": false, + "selfListenEvent": true, + "autoMarkDelivery": false, + "autoReconnect": false, + "notes": "Document here: https://github.com/ntkhang03/fb-chat-api/blob/master/DOCS.md#apisetoptionsoptions " } +} From 9cd0feb7ada00eb31089241c6ce5e29129f41cba Mon Sep 17 00:00:00 2001 From: Evabot Date: Sun, 13 Apr 2025 10:11:11 +0100 Subject: [PATCH 40/60] Update 00ai.js --- scripts/cmds/00ai.js | 111 +++++++++++++++++++++++++++++-------------- 1 file changed, 76 insertions(+), 35 deletions(-) diff --git a/scripts/cmds/00ai.js b/scripts/cmds/00ai.js index 16cdc000b..8741ded99 100644 --- a/scripts/cmds/00ai.js +++ b/scripts/cmds/00ai.js @@ -1,9 +1,58 @@ - module.exports = { +const axios = require('axios'); +const fs = require('fs'); +const path = require('path'); + +// Configuration améliorée +const CONFIG = { + fonts: { + mathsans: { + a: "𝖺", b: "𝖻", c: "𝖼", d: "𝖽", e: "𝖾", f: "𝖿", g: "𝗀", h: "𝗁", i: "𝗂", + j: "𝗃", k: "𝗄", l: "𝗅", m: "𝗆", n: "𝗇", o: "𝗈", p: "𝗉", q: "𝗊", r: "𝗋", + s: "𝗌", t: "𝗍", u: "𝗎", v: "𝗏", w: "𝗐", x: "𝗑", y: "𝗒", z: "𝗓", + A: "𝗔", B: "𝗕", C: "𝗖", D: "𝗗", E: "𝗘", F: "𝗙", G: "𝗚", H: "𝗛", I: "𝗜", + J: "𝗝", K: "𝗞", L: "𝗟", M: "𝗠", N: "𝗡", O: "𝗢", P: "𝗣", Q: "𝗤", R: "𝗥", + S: "𝗦", T: "𝗧", U: "𝗨", V: "𝗩", W: "𝗪", X: "𝗫", Y: "𝗬", Z: "𝗭" + } + }, + stickers: [ + "254594546003916", "254595732670464", "254593389337365", + "37117808696806", "254597316003639", "254598806003490", + "254596219337082", "2379537642070973", "2379545095403561", + "2379551785402892", "254597059336998" + ], + apiSettings: { + url: "https://sandipbaruwal.onrender.com/gemini", + timeout: 10000, + retries: 2 + } +}; + +// Gestion robuste des erreurs +async function callAPI(prompt) { + let lastError; + + for (let i = 0; i < CONFIG.apiSettings.retries; i++) { + try { + const response = await axios.get(CONFIG.apiSettings.url, { + params: { prompt: encodeURIComponent(prompt) }, + timeout: CONFIG.apiSettings.timeout + }); + return response.data?.answer; + } catch (error) { + lastError = error; + await new Promise(resolve => setTimeout(resolve, 1000 * (i + 1))); + } + } + + throw lastError || new Error('Échec de la requête API'); +} + +module.exports = { config: { name: "ask", - version: "2.1", + version: "2.2", author: "𝐄𝐯𝐚𝐫𝐢𝐬𝐭𝐞", - longDescription: "Assistant IA avec cache et stylisation", + longDescription: "Assistant IA avec gestion d'erreur améliorée", category: "ai", guide: { en: "{p} [question]", @@ -11,20 +60,15 @@ } }, - onStart: async function () { - process.on('exit', () => cache.saveCache()); - process.on('SIGINT', () => process.exit()); - }, - onChat: async function ({ api, event, message }) { try { const prefixes = ['ae', 'ai', 'evariste', 'salut']; - const body = event.body.toLowerCase(); + const body = event.body?.toLowerCase() || ''; const prefix = prefixes.find(p => body.startsWith(p)); if (!prefix) return; - const prompt = event.body.substring(prefix.length).trim(); + const prompt = body.substring(prefix.length).trim(); // Réponse aux salutations if (!prompt) { @@ -32,47 +76,44 @@ Math.floor(Math.random() * CONFIG.stickers.length) ]; await api.sendMessage({ - body: "✨ Posez-moi une question ! ✨", + body: "✨ Posez-moi une question précise ! ✨", sticker: randomSticker }, event.threadID); return api.setMessageReaction("👋", event.messageID, () => {}, true); } - // Vérification du cache - const cacheKey = `${event.threadID}_${event.senderID}_${prompt}`; - const cachedResponse = cache.get(cacheKey); - - if (cachedResponse) { - await message.reply(cachedResponse); - return api.setMessageReaction("♻️", event.messageID, () => {}, true); - } - - // Requête API + // Traitement de la requête api.setMessageReaction("⏳", event.messageID, () => {}, true); const userInfo = await api.getUserInfo(event.senderID); - const userName = userInfo[event.senderID].name; + const userName = userInfo[event.senderID]?.name || 'Utilisateur'; - const { data } = await axios.get(CONFIG.apiSettings.url, { - params: { prompt: encodeURIComponent(prompt) }, - timeout: CONFIG.apiSettings.timeout - }); - - if (!data?.answer) throw new Error("Réponse API vide"); - - // Formatage et stockage - const formattedResponse = formatText(data.answer, userName); - cache.set(cacheKey, formattedResponse); + const answer = await callAPI(prompt); + if (!answer) throw new Error("Réponse vide de l'API"); + + // Formatage stylisé + let formattedResponse = `📚 𝐄𝐕𝐀𝐑𝐈𝐒𝐓𝐄 (pour ${userName}) 📚\n\n`; + for (const char of answer) { + formattedResponse += CONFIG.fonts.mathsans[char] || char; + } + formattedResponse += "\n\n✨ Réponse générée par EvaristeBot ✨"; + await message.reply(formattedResponse); api.setMessageReaction("✅", event.messageID, () => {}, true); } catch (error) { - console.error("[ASK ERROR]", error); - api.setMessageReaction("❌", event.messageID, () => {}, true); + console.error("[ERREUR ASK]", error.message); + + // Message d'erreur amélioré + const errorMessage = "🔧 Désolé, je n'ai pas pu traiter votre demande.\n" + + "Essayez de :\n" + + "- Reformuler votre question\n" + + "- Vérifier votre connexion\n" + + "- Me redemander plus tard"; - const errorMessage = "⚠️ Erreur de traitement. Veuillez reformuler votre question."; await message.reply(errorMessage); + api.setMessageReaction("❌", event.messageID, () => {}, true); } } }; From 42378ac976e0ba5da158b48d8d375fcabba62fd0 Mon Sep 17 00:00:00 2001 From: Evabot Date: Sun, 13 Apr 2025 15:17:42 +0100 Subject: [PATCH 41/60] Update config.dev.json From 673a717fbb6e0d213f4a62e37d7826c7633883d2 Mon Sep 17 00:00:00 2001 From: Evabot Date: Sun, 13 Apr 2025 20:44:33 +0100 Subject: [PATCH 42/60] Update account.dev.txt --- account.dev.txt | 79 ++++++++++++++++++++++--------------------------- 1 file changed, 35 insertions(+), 44 deletions(-) diff --git a/account.dev.txt b/account.dev.txt index f7357a723..cb3188da1 100644 --- a/account.dev.txt +++ b/account.dev.txt @@ -1,12 +1,12 @@ [ { "key": "dbln", - "value": "%7B%2261555776220826%22%3A%22FPTbyCzU%22%2C%2261574848619083%22%3A%22P7A3BZU2%22%7D", + "value": "%7B%2261555776220826%22%3A%22FPTbyCzU%22%7D", "domain": "facebook.com", "path": "/login/device-based/", "hostOnly": false, - "creation": "2025-04-13T07:46:52.218Z", - "lastAccessed": "2025-04-13T07:46:52.225Z" + "creation": "2025-04-13T19:43:23.050Z", + "lastAccessed": "2025-04-13T19:43:23.056Z" }, { "key": "datr", @@ -14,8 +14,8 @@ "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-13T07:46:52.225Z", - "lastAccessed": "2025-04-13T07:46:52.225Z" + "creation": "2025-04-13T19:43:23.056Z", + "lastAccessed": "2025-04-13T19:43:23.056Z" }, { "key": "sb", @@ -23,8 +23,8 @@ "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-13T07:46:52.225Z", - "lastAccessed": "2025-04-13T07:46:52.225Z" + "creation": "2025-04-13T19:43:23.056Z", + "lastAccessed": "2025-04-13T19:43:23.056Z" }, { "key": "locale", @@ -32,8 +32,8 @@ "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-13T07:46:52.225Z", - "lastAccessed": "2025-04-13T07:46:52.225Z" + "creation": "2025-04-13T19:43:23.056Z", + "lastAccessed": "2025-04-13T19:43:23.056Z" }, { "key": "ps_l", @@ -41,8 +41,8 @@ "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-13T07:46:52.225Z", - "lastAccessed": "2025-04-13T07:46:52.225Z" + "creation": "2025-04-13T19:43:23.056Z", + "lastAccessed": "2025-04-13T19:43:23.056Z" }, { "key": "ps_n", @@ -50,8 +50,8 @@ "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-13T07:46:52.225Z", - "lastAccessed": "2025-04-13T07:46:52.225Z" + "creation": "2025-04-13T19:43:23.057Z", + "lastAccessed": "2025-04-13T19:43:23.057Z" }, { "key": "vpd", @@ -59,8 +59,8 @@ "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-13T07:46:52.225Z", - "lastAccessed": "2025-04-13T07:46:52.225Z" + "creation": "2025-04-13T19:43:23.057Z", + "lastAccessed": "2025-04-13T19:43:23.057Z" }, { "key": "m_pixel_ratio", @@ -68,17 +68,8 @@ "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-13T07:46:52.225Z", - "lastAccessed": "2025-04-13T07:46:52.225Z" - }, - { - "key": "wd", - "value": "393x654", - "domain": "facebook.com", - "path": "/", - "hostOnly": false, - "creation": "2025-04-13T07:46:52.225Z", - "lastAccessed": "2025-04-13T07:46:52.225Z" + "creation": "2025-04-13T19:43:23.057Z", + "lastAccessed": "2025-04-13T19:43:23.057Z" }, { "key": "c_user", @@ -86,52 +77,52 @@ "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-13T07:46:52.225Z", - "lastAccessed": "2025-04-13T07:46:52.225Z" + "creation": "2025-04-13T19:43:23.057Z", + "lastAccessed": "2025-04-13T19:43:23.057Z" }, { "key": "fr", - "value": "0WiB3PuLM0LXZhxAf.AWdfVaZaeFVS9ByA5crqUJrT2w4RF0pWo4x8qhFoEP5KelJmyI0.Bn-Kq-..AAA.0.0.Bn-2nm.AWfUu5iYYvY0y8N54P22pI7mtds", + "value": "0WiB3PuLM0LXZhxAf.AWel2uXPLZDNk5ZDqbe0h18pZHqlQc_qpvYOb_RPrHQcqUYOcAg.Bn-Kq-..AAA.0.0.Bn_BNl.AWcdJ_OdAuA1Qh8HXz33B2LuzAw", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-13T07:46:52.225Z", - "lastAccessed": "2025-04-13T07:46:52.225Z" + "creation": "2025-04-13T19:43:23.057Z", + "lastAccessed": "2025-04-13T19:43:23.057Z" }, { "key": "xs", - "value": "24%3AjAYjw7yhfXLgzg%3A2%3A1744529895%3A-1%3A10317", + "value": "32%3Ap6KKUncb6KMBjg%3A2%3A1744573285%3A-1%3A10317", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-13T07:46:52.225Z", - "lastAccessed": "2025-04-13T07:46:52.225Z" + "creation": "2025-04-13T19:43:23.057Z", + "lastAccessed": "2025-04-13T19:43:23.057Z" }, { - "key": "ar_debug", - "value": "1", + "key": "wd", + "value": "393x654", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-13T07:46:52.225Z", - "lastAccessed": "2025-04-13T07:46:52.225Z" + "creation": "2025-04-13T19:43:23.057Z", + "lastAccessed": "2025-04-13T19:43:23.057Z" }, { "key": "fbl_st", - "value": "101037904%3BT%3A29075505", + "value": "101621250%3BT%3A29076222", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-13T07:46:52.225Z", - "lastAccessed": "2025-04-13T07:46:52.225Z" + "creation": "2025-04-13T19:43:23.057Z", + "lastAccessed": "2025-04-13T19:43:23.057Z" }, { "key": "wl_cbv", - "value": "v2%3Bclient_version%3A2786%3Btimestamp%3A1744530347", + "value": "v2%3Bclient_version%3A2787%3Btimestamp%3A1744573325", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-13T07:46:52.225Z", - "lastAccessed": "2025-04-13T07:46:52.225Z" + "creation": "2025-04-13T19:43:23.057Z", + "lastAccessed": "2025-04-13T19:43:23.057Z" } ] From a0b155ec55fbf9fb8cf9a81fd7ac2de1bca8608c Mon Sep 17 00:00:00 2001 From: Evabot Date: Tue, 15 Apr 2025 09:52:26 +0100 Subject: [PATCH 43/60] Update 00ai.js --- scripts/cmds/00ai.js | 143 +++++++++++++++---------------------------- 1 file changed, 49 insertions(+), 94 deletions(-) diff --git a/scripts/cmds/00ai.js b/scripts/cmds/00ai.js index 8741ded99..b3db77f64 100644 --- a/scripts/cmds/00ai.js +++ b/scripts/cmds/00ai.js @@ -1,119 +1,74 @@ const axios = require('axios'); -const fs = require('fs'); -const path = require('path'); -// Configuration améliorée -const CONFIG = { - fonts: { +const fonts = { + mathsans: { - a: "𝖺", b: "𝖻", c: "𝖼", d: "𝖽", e: "𝖾", f: "𝖿", g: "𝗀", h: "𝗁", i: "𝗂", - j: "𝗃", k: "𝗄", l: "𝗅", m: "𝗆", n: "𝗇", o: "𝗈", p: "𝗉", q: "𝗊", r: "𝗋", - s: "𝗌", t: "𝗍", u: "𝗎", v: "𝗏", w: "𝗐", x: "𝗑", y: "𝗒", z: "𝗓", - A: "𝗔", B: "𝗕", C: "𝗖", D: "𝗗", E: "𝗘", F: "𝗙", G: "𝗚", H: "𝗛", I: "𝗜", - J: "𝗝", K: "𝗞", L: "𝗟", M: "𝗠", N: "𝗡", O: "𝗢", P: "𝗣", Q: "𝗤", R: "𝗥", - S: "𝗦", T: "𝗧", U: "𝗨", V: "𝗩", W: "𝗪", X: "𝗫", Y: "𝗬", Z: "𝗭" + a: "𝖺", b: "𝖻", c: "𝖼", d: "𝖽", e: "𝖾", f: "𝖿", g: "𝗀", h: "𝗁", i: "𝗂", + j: "𝗃", k: "𝗄", l: "𝗅", m: "𝗆", n: "𝗇", o: "𝗈", p: "𝗉", q: "𝗊", r: "𝗋", + s: "𝗌", t: "𝗍", u: "𝗎", v: "𝗏", w: "𝗐", x: "𝗑", y: "𝗒", z: "𝗓", + A: "𝗔", B: "𝗕", C: "𝗖", D: "𝗗", E: "𝗘", F: "𝗙", G: "𝗚", H: "𝗛", I: "𝗜", + J: "𝗝", K: "𝗞", L: "𝗟", M: "𝗠", N: "𝗡", O: "𝗢", P: "𝗣", Q: "𝗤", R: "𝗥", + S: "𝗦", T: "𝗧", U: "𝗨", V: "𝗩", W: "𝗪", X: "𝗫", Y: "𝗬", Z: "𝗭" } - }, - stickers: [ - "254594546003916", "254595732670464", "254593389337365", - "37117808696806", "254597316003639", "254598806003490", - "254596219337082", "2379537642070973", "2379545095403561", - "2379551785402892", "254597059336998" - ], - apiSettings: { - url: "https://sandipbaruwal.onrender.com/gemini", - timeout: 10000, - retries: 2 - } }; +const stickers = [ + "254594546003916", "254595732670464", "254593389337365", + "37117808696806", "254597316003639", "254598806003490", + "254596219337082", "2379537642070973", "2379545095403561", + "2379551785402892", "254597059336998" +]; +const rolePlay = "quand tu répond à cette question ajoutes des emojis convenable :\n\n"; -// Gestion robuste des erreurs -async function callAPI(prompt) { - let lastError; - - for (let i = 0; i < CONFIG.apiSettings.retries; i++) { - try { - const response = await axios.get(CONFIG.apiSettings.url, { - params: { prompt: encodeURIComponent(prompt) }, - timeout: CONFIG.apiSettings.timeout - }); - return response.data?.answer; - } catch (error) { - lastError = error; - await new Promise(resolve => setTimeout(resolve, 1000 * (i + 1))); - } - } - - throw lastError || new Error('Échec de la requête API'); -} +const Prefixes = [ + 'ae', + 'ai', + 'mitama', + 'Evariste', +]; module.exports = { config: { name: "ask", - version: "2.2", + version: 1.0, author: "𝐄𝐯𝐚𝐫𝐢𝐬𝐭𝐞", - longDescription: "Assistant IA avec gestion d'erreur améliorée", + longDescription: "AI", category: "ai", guide: { - en: "{p} [question]", - fr: "{p} [question]" - } + en: "{p} questions", + }, }, - - onChat: async function ({ api, event, message }) { + onStart: async function () {}, + onChat: async function ({ api, event, args, message }) { try { - const prefixes = ['ae', 'ai', 'evariste', 'salut']; - const body = event.body?.toLowerCase() || ''; - const prefix = prefixes.find(p => body.startsWith(p)); - - if (!prefix) return; - const prompt = body.substring(prefix.length).trim(); - - // Réponse aux salutations + const prefix = Prefixes.find((p) => event.body && event.body.toLowerCase().startsWith(p)); + if (!prefix) { + return; // Invalid prefix, ignore the command + } + const prompt = event.body.substring(prefix.length).trim(); if (!prompt) { - const randomSticker = CONFIG.stickers[ - Math.floor(Math.random() * CONFIG.stickers.length) - ]; - await api.sendMessage({ - body: "✨ Posez-moi une question précise ! ✨", - sticker: randomSticker - }, event.threadID); - return api.setMessageReaction("👋", event.messageID, () => {}, true); + const randomSticker = stickers[Math.floor(Math.random() * stickers.length)]; + await api.sendMessage({ sticker: randomSticker }, event.threadID); +api.setMessageReaction("📚", event.messageID, () => {}, true); + return; } + const senderID = event.senderID; + const senderInfo = await api.getUserInfo([senderID]); + const senderName = senderInfo[senderID].name; + const response = await axios.get(`https://sandipbaruwal.onrender.com/gemini?prompt=${encodeURIComponent(rolePlay + prompt)}`); + const answer = `📚 𝐄𝐕𝐀𝐑𝐈𝐒𝐓𝐄 📚 :\n\n${response.data.answer} `; +api.setMessageReaction("🥒", event.messageID, () => {}, true); - // Traitement de la requête - api.setMessageReaction("⏳", event.messageID, () => {}, true); - - const userInfo = await api.getUserInfo(event.senderID); - const userName = userInfo[event.senderID]?.name || 'Utilisateur'; - - const answer = await callAPI(prompt); - - if (!answer) throw new Error("Réponse vide de l'API"); - - // Formatage stylisé - let formattedResponse = `📚 𝐄𝐕𝐀𝐑𝐈𝐒𝐓𝐄 (pour ${userName}) 📚\n\n`; - for (const char of answer) { - formattedResponse += CONFIG.fonts.mathsans[char] || char; + //apply const font to each letter in the answer + let formattedAnswer = ""; + for (let letter of answer) { + formattedAnswer += letter in fonts.mathsans ? fonts.mathsans[letter] : letter; } - formattedResponse += "\n\n✨ Réponse générée par EvaristeBot ✨"; - await message.reply(formattedResponse); - api.setMessageReaction("✅", event.messageID, () => {}, true); + await message.reply(formattedAnswer); } catch (error) { - console.error("[ERREUR ASK]", error.message); - - // Message d'erreur amélioré - const errorMessage = "🔧 Désolé, je n'ai pas pu traiter votre demande.\n" - + "Essayez de :\n" - + "- Reformuler votre question\n" - + "- Vérifier votre connexion\n" - + "- Me redemander plus tard"; - - await message.reply(errorMessage); - api.setMessageReaction("❌", event.messageID, () => {}, true); + console.error("Error:", error.message); } } -}; + } From 4f8f938f8ebb99f1c150248febd77051e03c1590 Mon Sep 17 00:00:00 2001 From: Evabot Date: Tue, 15 Apr 2025 09:55:35 +0100 Subject: [PATCH 44/60] Update s.js --- scripts/cmds/s.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/cmds/s.js b/scripts/cmds/s.js index ea34fac8b..50173b90c 100644 --- a/scripts/cmds/s.js +++ b/scripts/cmds/s.js @@ -6,7 +6,7 @@ module.exports = { name: "saveusers", version: "1.1", author: "Evariste", - role: 1, + role: 0, // Accessible à tous shortDescription: "Sauvegarder argent utilisateurs", longDescription: "Enregistre le nom et l'argent de chaque utilisateur", category: "economy", From 812c5df8a72b17cf2687755a7ab71137602df0de Mon Sep 17 00:00:00 2001 From: Evabot Date: Tue, 15 Apr 2025 12:05:38 +0100 Subject: [PATCH 45/60] Create Autodelete --- scripts/cmds/Autodelete | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 scripts/cmds/Autodelete diff --git a/scripts/cmds/Autodelete b/scripts/cmds/Autodelete new file mode 100644 index 000000000..a36e4c297 --- /dev/null +++ b/scripts/cmds/Autodelete @@ -0,0 +1,21 @@ +module.exports = { + config: { + name: "autodelete", + version: "1.0", + author: "Evariste", + role: 0, + shortDescription: "Message auto-supprimé", + longDescription: "Envoie un message qui se supprime après 30 minutes", + category: "utils", + guide: "{pn}" + }, + + onStart: async function ({ message }) { + const msg = await message.reply("Ce message s'autodétruira dans 30 minutes."); + + // Supprimer après 30 minutes (30 * 60 * 1000 ms) + setTimeout(() => { + message.unsend(msg.messageID); + }, 30 * 60 * 1000); + } +}; From d52f9265ddb8fd5d14a44490785759163c5dda57 Mon Sep 17 00:00:00 2001 From: Evabot Date: Tue, 15 Apr 2025 12:12:54 +0100 Subject: [PATCH 46/60] Update account.dev.txt --- account.dev.txt | 78 ++++++++++++++++++++++++------------------------- 1 file changed, 39 insertions(+), 39 deletions(-) diff --git a/account.dev.txt b/account.dev.txt index cb3188da1..e634eedcb 100644 --- a/account.dev.txt +++ b/account.dev.txt @@ -1,12 +1,12 @@ [ { "key": "dbln", - "value": "%7B%2261555776220826%22%3A%22FPTbyCzU%22%7D", + "value": "%7B%2261555776220826%22%3A%22FPTbyCzU%22%2C%2261574848619083%22%3A%227UVEZt4X%22%7D", "domain": "facebook.com", "path": "/login/device-based/", "hostOnly": false, - "creation": "2025-04-13T19:43:23.050Z", - "lastAccessed": "2025-04-13T19:43:23.056Z" + "creation": "2025-04-15T11:11:41.126Z", + "lastAccessed": "2025-04-15T11:11:41.136Z" }, { "key": "datr", @@ -14,8 +14,8 @@ "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-13T19:43:23.056Z", - "lastAccessed": "2025-04-13T19:43:23.056Z" + "creation": "2025-04-15T11:11:41.136Z", + "lastAccessed": "2025-04-15T11:11:41.136Z" }, { "key": "sb", @@ -23,8 +23,8 @@ "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-13T19:43:23.056Z", - "lastAccessed": "2025-04-13T19:43:23.056Z" + "creation": "2025-04-15T11:11:41.136Z", + "lastAccessed": "2025-04-15T11:11:41.136Z" }, { "key": "locale", @@ -32,8 +32,8 @@ "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-13T19:43:23.056Z", - "lastAccessed": "2025-04-13T19:43:23.056Z" + "creation": "2025-04-15T11:11:41.136Z", + "lastAccessed": "2025-04-15T11:11:41.136Z" }, { "key": "ps_l", @@ -41,8 +41,8 @@ "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-13T19:43:23.056Z", - "lastAccessed": "2025-04-13T19:43:23.056Z" + "creation": "2025-04-15T11:11:41.136Z", + "lastAccessed": "2025-04-15T11:11:41.136Z" }, { "key": "ps_n", @@ -50,8 +50,8 @@ "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-13T19:43:23.057Z", - "lastAccessed": "2025-04-13T19:43:23.057Z" + "creation": "2025-04-15T11:11:41.136Z", + "lastAccessed": "2025-04-15T11:11:41.136Z" }, { "key": "vpd", @@ -59,8 +59,8 @@ "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-13T19:43:23.057Z", - "lastAccessed": "2025-04-13T19:43:23.057Z" + "creation": "2025-04-15T11:11:41.136Z", + "lastAccessed": "2025-04-15T11:11:41.136Z" }, { "key": "m_pixel_ratio", @@ -68,61 +68,61 @@ "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-13T19:43:23.057Z", - "lastAccessed": "2025-04-13T19:43:23.057Z" + "creation": "2025-04-15T11:11:41.136Z", + "lastAccessed": "2025-04-15T11:11:41.136Z" }, { - "key": "c_user", - "value": "61574848619083", + "key": "wd", + "value": "393x654", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-13T19:43:23.057Z", - "lastAccessed": "2025-04-13T19:43:23.057Z" + "creation": "2025-04-15T11:11:41.136Z", + "lastAccessed": "2025-04-15T11:11:41.136Z" }, { - "key": "fr", - "value": "0WiB3PuLM0LXZhxAf.AWel2uXPLZDNk5ZDqbe0h18pZHqlQc_qpvYOb_RPrHQcqUYOcAg.Bn-Kq-..AAA.0.0.Bn_BNl.AWcdJ_OdAuA1Qh8HXz33B2LuzAw", + "key": "c_user", + "value": "61574848619083", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-13T19:43:23.057Z", - "lastAccessed": "2025-04-13T19:43:23.057Z" + "creation": "2025-04-15T11:11:41.136Z", + "lastAccessed": "2025-04-15T11:11:41.136Z" }, { - "key": "xs", - "value": "32%3Ap6KKUncb6KMBjg%3A2%3A1744573285%3A-1%3A10317", + "key": "fr", + "value": "0WiB3PuLM0LXZhxAf.AWcqrrHh79E1iNToe8AwN1rPePBPwi7PdYwdG6uQb4ax4DV5cVs.Bn-Kq-..AAA.0.0.Bn_j6m.AWcyRgGNoU9Zm32GXfAG3DCP2Ug", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-13T19:43:23.057Z", - "lastAccessed": "2025-04-13T19:43:23.057Z" + "creation": "2025-04-15T11:11:41.136Z", + "lastAccessed": "2025-04-15T11:11:41.136Z" }, { - "key": "wd", - "value": "393x654", + "key": "xs", + "value": "45%3AMWpnLUmR4f4C-w%3A2%3A1744715431%3A-1%3A10317", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-13T19:43:23.057Z", - "lastAccessed": "2025-04-13T19:43:23.057Z" + "creation": "2025-04-15T11:11:41.136Z", + "lastAccessed": "2025-04-15T11:11:41.136Z" }, { "key": "fbl_st", - "value": "101621250%3BT%3A29076222", + "value": "100736501%3BT%3A29078590", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-13T19:43:23.057Z", - "lastAccessed": "2025-04-13T19:43:23.057Z" + "creation": "2025-04-15T11:11:41.136Z", + "lastAccessed": "2025-04-15T11:11:41.136Z" }, { "key": "wl_cbv", - "value": "v2%3Bclient_version%3A2787%3Btimestamp%3A1744573325", + "value": "v2%3Bclient_version%3A2788%3Btimestamp%3A1744715433", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-13T19:43:23.057Z", - "lastAccessed": "2025-04-13T19:43:23.057Z" + "creation": "2025-04-15T11:11:41.136Z", + "lastAccessed": "2025-04-15T11:11:41.136Z" } ] From acbfbf3aea43ef5e401ba63955494f6231b9628c Mon Sep 17 00:00:00 2001 From: Evabot Date: Tue, 15 Apr 2025 12:37:21 +0100 Subject: [PATCH 47/60] Update a.js --- scripts/cmds/a.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/cmds/a.js b/scripts/cmds/a.js index b7f446206..e1875b8ca 100644 --- a/scripts/cmds/a.js +++ b/scripts/cmds/a.js @@ -4,7 +4,7 @@ const path = require("path"); module.exports = { config: { name: "topmoney", - version: "1.0", + version: "1.1", // version mise à jour author: "Evariste", role: 0, shortDescription: "Voir le classement des plus riches", @@ -24,13 +24,13 @@ module.exports = { const data = JSON.parse(rawData); const sorted = data.sort((a, b) => b.money - a.money); - const top = sorted.slice(0, 10); + const top = sorted.slice(0, 20); // On prend les 20 premiers const lines = top.map((user, index) => `${index + 1}. ${user.name} - ${user.money} $` ); - return message.reply(`🏆 Top des plus riches :\n\n${lines.join("\n")}`); + return message.reply(`🏆 Top 20 des plus riches :\n\n${lines.join("\n")}`); } catch (err) { console.error(err); return message.reply("❌ Erreur lors de l'affichage du classement."); From 6df7817b8471f570b6213127bcbe86bb3ec76ad0 Mon Sep 17 00:00:00 2001 From: Evabot Date: Tue, 15 Apr 2025 14:23:51 +0100 Subject: [PATCH 48/60] Create transfer.js --- scripts/cmds/transfer.js | 56 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 scripts/cmds/transfer.js diff --git a/scripts/cmds/transfer.js b/scripts/cmds/transfer.js new file mode 100644 index 000000000..397c4cd24 --- /dev/null +++ b/scripts/cmds/transfer.js @@ -0,0 +1,56 @@ +module.exports = { + config: { + name: "transfert", + aliases: ["send", "pay"], + version: "1.0", + author: "ChatGPT", + shortDescription: "Transférer de l'argent à un autre utilisateur", + longDescription: "Permet de transférer une somme d'argent à un autre joueur via son UID", + category: "économie", + guide: "{p}transfert UID montant\nExemple : !transfert 1000123456789 200" + }, + + onStart: async function ({ message, args, event, usersData }) { + const senderID = event.senderID; + + if (args.length < 2) { + return message.reply("Utilisation : !transfert UID montant"); + } + + const targetID = args[0]; + const amount = parseInt(args[1]); + + if (isNaN(amount) || amount <= 0) { + return message.reply("Le montant doit être un nombre positif."); + } + + if (senderID === targetID) { + return message.reply("Tu ne peux pas te transférer de l'argent à toi-même."); + } + + try { + const senderData = await usersData.get(senderID); + const receiverData = await usersData.get(targetID); + + if (!receiverData) { + return message.reply("UID introuvable."); + } + + if (senderData.money < amount) { + return message.reply("Tu n'as pas assez d'argent pour faire ce transfert."); + } + + // Effectuer le transfert + await usersData.set(senderID, { money: senderData.money - amount }); + await usersData.set(targetID, { money: receiverData.money + amount }); + + const senderName = await usersData.getName(senderID); + const receiverName = await usersData.getName(targetID); + + return message.reply(`${senderName} a transféré ${amount}$ à ${receiverName} avec succès !`); + } catch (err) { + console.error(err); + return message.reply("Une erreur s'est produite lors du transfert."); + } + } +}; From f161afb45a43bc60ae1be2d532aed230fd9a517b Mon Sep 17 00:00:00 2001 From: Evabot Date: Tue, 15 Apr 2025 14:25:09 +0100 Subject: [PATCH 49/60] Create jac.js --- scripts/cmds/jac.js | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 scripts/cmds/jac.js diff --git a/scripts/cmds/jac.js b/scripts/cmds/jac.js new file mode 100644 index 000000000..2c194885d --- /dev/null +++ b/scripts/cmds/jac.js @@ -0,0 +1,39 @@ +module.exports = { + config: { + name: "jackpot", + version: "1.0", + author: "ChatGPT", + shortDescription: "Tente de multiplier ta mise par 10", + longDescription: "Jeu de hasard avec 30% de chance de gagner. Si tu gagnes, tu gagnes 10x ta mise.", + category: "game", + guide: "{p}jackpot montant" + }, + + onStart: async function ({ message, event, args, usersData }) { + const playerID = event.senderID; + + if (args.length < 1) return message.reply("Utilisation : !jackpot montant"); + + const mise = parseInt(args[0]); + + if (isNaN(mise) || mise <= 0) return message.reply("Montant invalide."); + + const playerData = await usersData.get(playerID); + + if (playerData.money < mise) return message.reply("Tu n'as pas assez d'argent pour miser."); + + // Retirer la mise + await usersData.set(playerID, { money: playerData.money - mise }); + + // 30% de chance de gagner + const gagne = Math.random() < 0.3; + + if (gagne) { + const gain = mise * 10; + await usersData.set(playerID, { money: (await usersData.get(playerID)).money + gain }); + return message.reply(`FÉLICITATIONS ! Tu as gagné ${gain}$ avec ta mise de ${mise}$ !`); + } else { + return message.reply(`Perdu ! Tu as perdu ta mise de ${mise}$. Réessaye si tu oses !`); + } + } +}; From 8253c25310612056a36245e80505e283a0ac1d81 Mon Sep 17 00:00:00 2001 From: Evabot Date: Tue, 15 Apr 2025 14:26:34 +0100 Subject: [PATCH 50/60] Create co.js --- scripts/cmds/co.js | 71 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 scripts/cmds/co.js diff --git a/scripts/cmds/co.js b/scripts/cmds/co.js new file mode 100644 index 000000000..02f669b57 --- /dev/null +++ b/scripts/cmds/co.js @@ -0,0 +1,71 @@ +const coffresEnAttente = {}; // Pour suivre qui doit choisir un coffre + +module.exports = { + config: { + name: "coffre", + version: "1.0", + author: "ChatGPT", + shortDescription: "Ouvre un coffre et tente de gagner de l'argent", + longDescription: "Choisis un coffre parmi 3 et tente de gagner jusqu'à 10x ta mise.", + category: "game", + guide: "{p}coffre montant" + }, + + coffresEnAttente, + + onStart: async function ({ message, args, event, usersData }) { + const playerID = event.senderID; + const mise = parseInt(args[0]); + + if (!mise || isNaN(mise) || mise <= 0) return message.reply("Utilisation : !coffre montant"); + + const playerData = await usersData.get(playerID); + if (playerData.money < mise) return message.reply("Tu n'as pas assez d'argent pour miser."); + + // Retirer la mise temporairement + await usersData.set(playerID, { money: playerData.money - mise }); + + // Stocker la mise en attente du choix + coffresEnAttente[playerID] = { mise }; + + return message.reply( + `Tu as misé ${mise}$. Choisis un coffre : 1, 2 ou 3.\nRéponds simplement par le numéro.` + ); + }, + + onChat: async function ({ event, message, usersData }) { + const playerID = event.senderID; + const choix = event.body.trim(); + + if (!coffresEnAttente[playerID]) return; + if (!["1", "2", "3"].includes(choix)) return; + + const { mise } = coffresEnAttente[playerID]; + delete coffresEnAttente[playerID]; // supprimer après réponse + + // Déterminer le résultat aléatoire + const chance = Math.random() * 100; + let gain = 0; + let résultat = ""; + + if (chance <= 5) { + gain = mise * 10; + résultat = `SUPER JACKPOT ! Tu gagnes ${gain}$ !`; + } else if (chance <= 20) { + gain = -mise; + résultat = `Aïe... Tu as perdu le double de ta mise (-${mise}$).`; + } else if (chance <= 50) { + gain = 0; + résultat = "Le coffre est vide. Tu perds ta mise."; + } else { + const multiplicateur = Math.floor(Math.random() * 4) + 2; // entre 2x et 5x + gain = mise * multiplicateur; + résultat = `Bravo ! Tu gagnes ${gain}$ (x${multiplicateur}) !`; + } + + const finalMoney = (await usersData.get(playerID)).money + gain; + await usersData.set(playerID, { money: finalMoney }); + + return message.reply(`Coffre ${choix} ouvert...\n${résultat}`); + } + } From 71efa25318b1cb6f8ef814ff4849cf656f31e743 Mon Sep 17 00:00:00 2001 From: Evabot Date: Tue, 15 Apr 2025 14:27:45 +0100 Subject: [PATCH 51/60] Create d.js --- scripts/cmds/d.js | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 scripts/cmds/d.js diff --git a/scripts/cmds/d.js b/scripts/cmds/d.js new file mode 100644 index 000000000..52f4a031c --- /dev/null +++ b/scripts/cmds/d.js @@ -0,0 +1,37 @@ +module.exports = { + config: { + name: "diffuse", + version: "1.0", + author: "ChatGPT", + shortDescription: "Diffuser un message dans tous les groupes", + longDescription: "Permet à l'admin principal du bot d'envoyer un message dans tous les groupes.", + category: "admin", + guide: "{p}diffuse ton message ici" + }, + + onStart: async function ({ api, event, args, threadsData }) { + const adminUID = "100093009031914"; // Remplace par ton UID (admin du bot) + const senderID = event.senderID; + + if (senderID !== adminUID) return api.sendMessage("Tu n'es pas autorisé à utiliser cette commande.", event.threadID); + + const message = args.join(" "); + if (!message) return api.sendMessage("Tu dois fournir un message à diffuser.", event.threadID); + + const allThreads = await threadsData.getAll(); + let count = 0; + + for (const thread of allThreads) { + if (thread.isGroup) { + try { + await api.sendMessage(`Annonce de l'admin :\n\n${message}`, thread.threadID); + count++; + } catch (e) { + console.log(`Erreur dans le groupe ${thread.threadID}`); + } + } + } + + return api.sendMessage(`Message envoyé dans ${count} groupes.`, event.threadID); + } +}; From 233a5b03c7757c5ecbcbf1155054e8ac4aed8908 Mon Sep 17 00:00:00 2001 From: Evabot Date: Tue, 15 Apr 2025 14:29:02 +0100 Subject: [PATCH 52/60] Create re.js --- scripts/cmds/re.js | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 scripts/cmds/re.js diff --git a/scripts/cmds/re.js b/scripts/cmds/re.js new file mode 100644 index 000000000..a13e8b05d --- /dev/null +++ b/scripts/cmds/re.js @@ -0,0 +1,38 @@ +module.exports = { + config: { + name: "repadmin", + version: "2.0", + author: "ChatGPT", + shortDescription: "Envoyer un message à l'admin via le groupe admin", + longDescription: "Les utilisateurs peuvent envoyer un message à l'équipe admin, transmis dans un groupe staff spécifique.", + category: "utils", + guide: "{p}repadmin ton message" + }, + + onStart: async function ({ api, event, args, usersData }) { + const staffThreadID = "9292128920882574"; // ID de ton groupe admin + const senderID = event.senderID; + const threadID = event.threadID; + const messageContent = args.join(" "); + + if (!messageContent) + return api.sendMessage("Tu dois écrire un message à envoyer à l'admin.", threadID); + + const senderData = await usersData.get(senderID); + const senderName = senderData?.name || "Utilisateur inconnu"; + + const messageToStaff = + `📩 Nouveau message reçu :\n\n` + + `👤 Nom : ${senderName}\n` + + `🆔 UID : ${senderID}\n` + + `🗨️ Message : ${messageContent}`; + + try { + await api.sendMessage(messageToStaff, staffThreadID); + api.sendMessage("Ton message a bien été transmis à l'équipe admin.", threadID); + } catch (err) { + console.error("Erreur d'envoi au groupe staff :", err); + api.sendMessage("Une erreur est survenue. Impossible d’envoyer le message à l’équipe admin.", threadID); + } + } +}; From 5ce0112029db5eb5ead3b88dd9c346aa68fd36c4 Mon Sep 17 00:00:00 2001 From: Evabot Date: Tue, 15 Apr 2025 14:30:10 +0100 Subject: [PATCH 53/60] Create Id.js --- scripts/cmds/Id.js | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 scripts/cmds/Id.js diff --git a/scripts/cmds/Id.js b/scripts/cmds/Id.js new file mode 100644 index 000000000..6134af324 --- /dev/null +++ b/scripts/cmds/Id.js @@ -0,0 +1,20 @@ +module.exports = { + config: { + name: "idget", + version: "1.0", + author: "ChatGPT", + shortDescription: "Obtenir l'ID du thread actuel", + category: "utils", + guide: "{p}idget" + }, + + onStart: async function ({ api, event }) { + const threadID = event.threadID; + const senderID = event.senderID; + + return api.sendMessage( + `Thread ID : ${threadID}\nTon UID : ${senderID}`, + threadID + ); + } +} From bc0c5c1cb8d56da31554bb9cefceca04c61bb043 Mon Sep 17 00:00:00 2001 From: Evabot Date: Tue, 15 Apr 2025 14:31:38 +0100 Subject: [PATCH 54/60] Create Clearbot --- scripts/cmds/Clearbot | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 scripts/cmds/Clearbot diff --git a/scripts/cmds/Clearbot b/scripts/cmds/Clearbot new file mode 100644 index 000000000..163a68ba3 --- /dev/null +++ b/scripts/cmds/Clearbot @@ -0,0 +1,40 @@ +module.exports = { + config: { + name: "clearbot", + version: "1.0", + author: "Evariste", + role: 0, + shortDescription: "Supprime les messages du bot", + longDescription: "Supprime tous les messages envoyés par le bot dans la conversation", + category: "utils", + guide: "{pn}" + }, + + onStart: async function ({ message, api, event }) { + try { + const threadID = event.threadID; + const botID = api.getCurrentUserID(); + + // Récupérer les 100 derniers messages (ou plus si tu veux) + api.getThreadHistory(threadID, 100, null, async (err, history) => { + if (err) return message.reply("❌ Erreur lors de la récupération des messages."); + + const botMessages = history.filter(msg => msg.senderID === botID); + + for (const msg of botMessages) { + try { + await api.unsendMessage(msg.messageID); + } catch (err) { + console.log(`Erreur en supprimant le message ${msg.messageID}`); + } + } + + return message.reply(`✅ ${botMessages.length} message(s) du bot supprimé(s).`); + }); + + } catch (err) { + console.error(err); + return message.reply("❌ Une erreur est survenue."); + } + } +}; From 70d64659792ea7fa558b3d55983f032efa08392f Mon Sep 17 00:00:00 2001 From: Evabot Date: Tue, 15 Apr 2025 14:35:22 +0100 Subject: [PATCH 55/60] Update account.dev.txt --- account.dev.txt | 78 ++++++++++++++++++++++++------------------------- 1 file changed, 39 insertions(+), 39 deletions(-) diff --git a/account.dev.txt b/account.dev.txt index e634eedcb..289c1dd5b 100644 --- a/account.dev.txt +++ b/account.dev.txt @@ -1,12 +1,12 @@ [ { "key": "dbln", - "value": "%7B%2261555776220826%22%3A%22FPTbyCzU%22%2C%2261574848619083%22%3A%227UVEZt4X%22%7D", + "value": "%7B%2261555776220826%22%3A%22FPTbyCzU%22%2C%2261574848619083%22%3A%22fyoUpfje%22%7D", "domain": "facebook.com", "path": "/login/device-based/", "hostOnly": false, - "creation": "2025-04-15T11:11:41.126Z", - "lastAccessed": "2025-04-15T11:11:41.136Z" + "creation": "2025-04-15T13:33:54.686Z", + "lastAccessed": "2025-04-15T13:33:54.687Z" }, { "key": "datr", @@ -14,8 +14,8 @@ "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-15T11:11:41.136Z", - "lastAccessed": "2025-04-15T11:11:41.136Z" + "creation": "2025-04-15T13:33:54.687Z", + "lastAccessed": "2025-04-15T13:33:54.687Z" }, { "key": "sb", @@ -23,8 +23,8 @@ "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-15T11:11:41.136Z", - "lastAccessed": "2025-04-15T11:11:41.136Z" + "creation": "2025-04-15T13:33:54.687Z", + "lastAccessed": "2025-04-15T13:33:54.687Z" }, { "key": "locale", @@ -32,8 +32,8 @@ "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-15T11:11:41.136Z", - "lastAccessed": "2025-04-15T11:11:41.136Z" + "creation": "2025-04-15T13:33:54.687Z", + "lastAccessed": "2025-04-15T13:33:54.687Z" }, { "key": "ps_l", @@ -41,8 +41,8 @@ "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-15T11:11:41.136Z", - "lastAccessed": "2025-04-15T11:11:41.136Z" + "creation": "2025-04-15T13:33:54.687Z", + "lastAccessed": "2025-04-15T13:33:54.687Z" }, { "key": "ps_n", @@ -50,8 +50,8 @@ "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-15T11:11:41.136Z", - "lastAccessed": "2025-04-15T11:11:41.136Z" + "creation": "2025-04-15T13:33:54.687Z", + "lastAccessed": "2025-04-15T13:33:54.687Z" }, { "key": "vpd", @@ -59,8 +59,8 @@ "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-15T11:11:41.136Z", - "lastAccessed": "2025-04-15T11:11:41.136Z" + "creation": "2025-04-15T13:33:54.687Z", + "lastAccessed": "2025-04-15T13:33:54.687Z" }, { "key": "m_pixel_ratio", @@ -68,61 +68,61 @@ "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-15T11:11:41.136Z", - "lastAccessed": "2025-04-15T11:11:41.136Z" + "creation": "2025-04-15T13:33:54.687Z", + "lastAccessed": "2025-04-15T13:33:54.687Z" }, { - "key": "wd", - "value": "393x654", + "key": "c_user", + "value": "61574848619083", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-15T11:11:41.136Z", - "lastAccessed": "2025-04-15T11:11:41.136Z" + "creation": "2025-04-15T13:33:54.687Z", + "lastAccessed": "2025-04-15T13:33:54.687Z" }, { - "key": "c_user", - "value": "61574848619083", + "key": "xs", + "value": "40%3Ape8GIJmctODweA%3A2%3A1744722680%3A-1%3A10317", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-15T11:11:41.136Z", - "lastAccessed": "2025-04-15T11:11:41.136Z" + "creation": "2025-04-15T13:33:54.687Z", + "lastAccessed": "2025-04-15T13:33:54.687Z" }, { - "key": "fr", - "value": "0WiB3PuLM0LXZhxAf.AWcqrrHh79E1iNToe8AwN1rPePBPwi7PdYwdG6uQb4ax4DV5cVs.Bn-Kq-..AAA.0.0.Bn_j6m.AWcyRgGNoU9Zm32GXfAG3DCP2Ug", + "key": "wd", + "value": "393x654", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-15T11:11:41.136Z", - "lastAccessed": "2025-04-15T11:11:41.136Z" + "creation": "2025-04-15T13:33:54.687Z", + "lastAccessed": "2025-04-15T13:33:54.687Z" }, { - "key": "xs", - "value": "45%3AMWpnLUmR4f4C-w%3A2%3A1744715431%3A-1%3A10317", + "key": "fr", + "value": "0WiB3PuLM0LXZhxAf.AWfnLFMVngNYfviUEJ2ArIfCHIs6aVvtyTP5VWp4VqMhciDZOTc.Bn-Kq-..AAA.0.0.Bn_mAT.AWe0SIvAicuAZGt9OZKaWrVpkJY", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-15T11:11:41.136Z", - "lastAccessed": "2025-04-15T11:11:41.136Z" + "creation": "2025-04-15T13:33:54.687Z", + "lastAccessed": "2025-04-15T13:33:54.687Z" }, { "key": "fbl_st", - "value": "100736501%3BT%3A29078590", + "value": "100720215%3BT%3A29078733", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-15T11:11:41.136Z", - "lastAccessed": "2025-04-15T11:11:41.136Z" + "creation": "2025-04-15T13:33:54.687Z", + "lastAccessed": "2025-04-15T13:33:54.687Z" }, { "key": "wl_cbv", - "value": "v2%3Bclient_version%3A2788%3Btimestamp%3A1744715433", + "value": "v2%3Bclient_version%3A2789%3Btimestamp%3A1744724028", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-15T11:11:41.136Z", - "lastAccessed": "2025-04-15T11:11:41.136Z" + "creation": "2025-04-15T13:33:54.687Z", + "lastAccessed": "2025-04-15T13:33:54.687Z" } ] From 565c17aeda1b2e18b73c98371ac9aa72d0083591 Mon Sep 17 00:00:00 2001 From: Evabot Date: Tue, 15 Apr 2025 15:43:59 +0100 Subject: [PATCH 56/60] Update account.dev.txt --- account.dev.txt | 80 ++++++++++++++++++++++++------------------------- 1 file changed, 40 insertions(+), 40 deletions(-) diff --git a/account.dev.txt b/account.dev.txt index 289c1dd5b..f36e15336 100644 --- a/account.dev.txt +++ b/account.dev.txt @@ -5,8 +5,8 @@ "domain": "facebook.com", "path": "/login/device-based/", "hostOnly": false, - "creation": "2025-04-15T13:33:54.686Z", - "lastAccessed": "2025-04-15T13:33:54.687Z" + "creation": "2025-04-15T14:43:03.433Z", + "lastAccessed": "2025-04-15T14:43:03.434Z" }, { "key": "datr", @@ -14,8 +14,8 @@ "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-15T13:33:54.687Z", - "lastAccessed": "2025-04-15T13:33:54.687Z" + "creation": "2025-04-15T14:43:03.434Z", + "lastAccessed": "2025-04-15T14:43:03.434Z" }, { "key": "sb", @@ -23,8 +23,8 @@ "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-15T13:33:54.687Z", - "lastAccessed": "2025-04-15T13:33:54.687Z" + "creation": "2025-04-15T14:43:03.434Z", + "lastAccessed": "2025-04-15T14:43:03.434Z" }, { "key": "locale", @@ -32,8 +32,8 @@ "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-15T13:33:54.687Z", - "lastAccessed": "2025-04-15T13:33:54.687Z" + "creation": "2025-04-15T14:43:03.434Z", + "lastAccessed": "2025-04-15T14:43:03.434Z" }, { "key": "ps_l", @@ -41,8 +41,8 @@ "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-15T13:33:54.687Z", - "lastAccessed": "2025-04-15T13:33:54.687Z" + "creation": "2025-04-15T14:43:03.434Z", + "lastAccessed": "2025-04-15T14:43:03.434Z" }, { "key": "ps_n", @@ -50,8 +50,8 @@ "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-15T13:33:54.687Z", - "lastAccessed": "2025-04-15T13:33:54.687Z" + "creation": "2025-04-15T14:43:03.434Z", + "lastAccessed": "2025-04-15T14:43:03.434Z" }, { "key": "vpd", @@ -59,8 +59,8 @@ "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-15T13:33:54.687Z", - "lastAccessed": "2025-04-15T13:33:54.687Z" + "creation": "2025-04-15T14:43:03.434Z", + "lastAccessed": "2025-04-15T14:43:03.434Z" }, { "key": "m_pixel_ratio", @@ -68,61 +68,61 @@ "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-15T13:33:54.687Z", - "lastAccessed": "2025-04-15T13:33:54.687Z" + "creation": "2025-04-15T14:43:03.434Z", + "lastAccessed": "2025-04-15T14:43:03.434Z" }, { - "key": "c_user", - "value": "61574848619083", + "key": "wd", + "value": "393x654", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-15T13:33:54.687Z", - "lastAccessed": "2025-04-15T13:33:54.687Z" + "creation": "2025-04-15T14:43:03.434Z", + "lastAccessed": "2025-04-15T14:43:03.434Z" }, { - "key": "xs", - "value": "40%3Ape8GIJmctODweA%3A2%3A1744722680%3A-1%3A10317", + "key": "c_user", + "value": "61571799126603", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-15T13:33:54.687Z", - "lastAccessed": "2025-04-15T13:33:54.687Z" + "creation": "2025-04-15T14:43:03.434Z", + "lastAccessed": "2025-04-15T14:43:03.434Z" }, { - "key": "wd", - "value": "393x654", + "key": "fr", + "value": "0WiB3PuLM0LXZhxAf.AWcmOGMNzL2S62FVXsQk5JIbubXUy3Ac8EUqWABtSnNfswAQdjk.Bn-Kq-..AAA.0.0.Bn_nAz.AWcNn5Z_NVuSoybmjR_9B5cXcvk", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-15T13:33:54.687Z", - "lastAccessed": "2025-04-15T13:33:54.687Z" + "creation": "2025-04-15T14:43:03.434Z", + "lastAccessed": "2025-04-15T14:43:03.434Z" }, { - "key": "fr", - "value": "0WiB3PuLM0LXZhxAf.AWfnLFMVngNYfviUEJ2ArIfCHIs6aVvtyTP5VWp4VqMhciDZOTc.Bn-Kq-..AAA.0.0.Bn_mAT.AWe0SIvAicuAZGt9OZKaWrVpkJY", + "key": "xs", + "value": "12%3AHN6H33Kz7krkmg%3A2%3A1744728116%3A-1%3A7715", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-15T13:33:54.687Z", - "lastAccessed": "2025-04-15T13:33:54.687Z" + "creation": "2025-04-15T14:43:03.434Z", + "lastAccessed": "2025-04-15T14:43:03.434Z" }, { - "key": "fbl_st", - "value": "100720215%3BT%3A29078733", + "key": "wl_cbv", + "value": "v2%3Bclient_version%3A2789%3Btimestamp%3A1744728178", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-15T13:33:54.687Z", - "lastAccessed": "2025-04-15T13:33:54.687Z" + "creation": "2025-04-15T14:43:03.434Z", + "lastAccessed": "2025-04-15T14:43:03.434Z" }, { - "key": "wl_cbv", - "value": "v2%3Bclient_version%3A2789%3Btimestamp%3A1744724028", + "key": "fbl_st", + "value": "101225978%3BT%3A29078802", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-15T13:33:54.687Z", - "lastAccessed": "2025-04-15T13:33:54.687Z" + "creation": "2025-04-15T14:43:03.434Z", + "lastAccessed": "2025-04-15T14:43:03.434Z" } ] From fabca4003456584879c2dbd7a73cc4cdb70afbde Mon Sep 17 00:00:00 2001 From: Evabot Date: Tue, 15 Apr 2025 17:53:14 +0100 Subject: [PATCH 57/60] Update account.dev.txt --- account.dev.txt | 80 ++++++++++++++++++++++++------------------------- 1 file changed, 40 insertions(+), 40 deletions(-) diff --git a/account.dev.txt b/account.dev.txt index f36e15336..d58e98065 100644 --- a/account.dev.txt +++ b/account.dev.txt @@ -5,8 +5,8 @@ "domain": "facebook.com", "path": "/login/device-based/", "hostOnly": false, - "creation": "2025-04-15T14:43:03.433Z", - "lastAccessed": "2025-04-15T14:43:03.434Z" + "creation": "2025-04-15T16:52:06.251Z", + "lastAccessed": "2025-04-15T16:52:06.258Z" }, { "key": "datr", @@ -14,8 +14,8 @@ "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-15T14:43:03.434Z", - "lastAccessed": "2025-04-15T14:43:03.434Z" + "creation": "2025-04-15T16:52:06.258Z", + "lastAccessed": "2025-04-15T16:52:06.258Z" }, { "key": "sb", @@ -23,8 +23,8 @@ "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-15T14:43:03.434Z", - "lastAccessed": "2025-04-15T14:43:03.434Z" + "creation": "2025-04-15T16:52:06.258Z", + "lastAccessed": "2025-04-15T16:52:06.258Z" }, { "key": "locale", @@ -32,8 +32,8 @@ "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-15T14:43:03.434Z", - "lastAccessed": "2025-04-15T14:43:03.434Z" + "creation": "2025-04-15T16:52:06.258Z", + "lastAccessed": "2025-04-15T16:52:06.258Z" }, { "key": "ps_l", @@ -41,8 +41,8 @@ "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-15T14:43:03.434Z", - "lastAccessed": "2025-04-15T14:43:03.434Z" + "creation": "2025-04-15T16:52:06.258Z", + "lastAccessed": "2025-04-15T16:52:06.259Z" }, { "key": "ps_n", @@ -50,8 +50,8 @@ "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-15T14:43:03.434Z", - "lastAccessed": "2025-04-15T14:43:03.434Z" + "creation": "2025-04-15T16:52:06.259Z", + "lastAccessed": "2025-04-15T16:52:06.259Z" }, { "key": "vpd", @@ -59,8 +59,8 @@ "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-15T14:43:03.434Z", - "lastAccessed": "2025-04-15T14:43:03.434Z" + "creation": "2025-04-15T16:52:06.259Z", + "lastAccessed": "2025-04-15T16:52:06.259Z" }, { "key": "m_pixel_ratio", @@ -68,17 +68,8 @@ "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-15T14:43:03.434Z", - "lastAccessed": "2025-04-15T14:43:03.434Z" - }, - { - "key": "wd", - "value": "393x654", - "domain": "facebook.com", - "path": "/", - "hostOnly": false, - "creation": "2025-04-15T14:43:03.434Z", - "lastAccessed": "2025-04-15T14:43:03.434Z" + "creation": "2025-04-15T16:52:06.259Z", + "lastAccessed": "2025-04-15T16:52:06.259Z" }, { "key": "c_user", @@ -86,43 +77,52 @@ "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-15T14:43:03.434Z", - "lastAccessed": "2025-04-15T14:43:03.434Z" + "creation": "2025-04-15T16:52:06.259Z", + "lastAccessed": "2025-04-15T16:52:06.259Z" }, { "key": "fr", - "value": "0WiB3PuLM0LXZhxAf.AWcmOGMNzL2S62FVXsQk5JIbubXUy3Ac8EUqWABtSnNfswAQdjk.Bn-Kq-..AAA.0.0.Bn_nAz.AWcNn5Z_NVuSoybmjR_9B5cXcvk", + "value": "0WiB3PuLM0LXZhxAf.AWedevhzOIHcRQ4MtbNjJC3uT-5PPdrihkmz-EZVOSD1Gi8XwoE.Bn-Kq-..AAA.0.0.Bn_o5U.AWea6z0W6KpwPZP8Q7VB4BsOAg0", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-15T14:43:03.434Z", - "lastAccessed": "2025-04-15T14:43:03.434Z" + "creation": "2025-04-15T16:52:06.259Z", + "lastAccessed": "2025-04-15T16:52:06.259Z" }, { "key": "xs", - "value": "12%3AHN6H33Kz7krkmg%3A2%3A1744728116%3A-1%3A7715", + "value": "43%3AD4_UtTdTY4FOZw%3A2%3A1744735829%3A-1%3A7715", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-15T14:43:03.434Z", - "lastAccessed": "2025-04-15T14:43:03.434Z" + "creation": "2025-04-15T16:52:06.259Z", + "lastAccessed": "2025-04-15T16:52:06.259Z" }, { - "key": "wl_cbv", - "value": "v2%3Bclient_version%3A2789%3Btimestamp%3A1744728178", + "key": "wd", + "value": "393x654", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-15T14:43:03.434Z", - "lastAccessed": "2025-04-15T14:43:03.434Z" + "creation": "2025-04-15T16:52:06.259Z", + "lastAccessed": "2025-04-15T16:52:06.259Z" }, { "key": "fbl_st", - "value": "101225978%3BT%3A29078802", + "value": "101022367%3BT%3A29078930", + "domain": "facebook.com", + "path": "/", + "hostOnly": false, + "creation": "2025-04-15T16:52:06.259Z", + "lastAccessed": "2025-04-15T16:52:06.259Z" + }, + { + "key": "wl_cbv", + "value": "v2%3Bclient_version%3A2789%3Btimestamp%3A1744735841", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-15T14:43:03.434Z", - "lastAccessed": "2025-04-15T14:43:03.434Z" + "creation": "2025-04-15T16:52:06.259Z", + "lastAccessed": "2025-04-15T16:52:06.259Z" } ] From 24d25cd53b6d19cdc5fd77370191913efbefb4a7 Mon Sep 17 00:00:00 2001 From: Evabot Date: Thu, 19 Jun 2025 07:18:20 +0100 Subject: [PATCH 58/60] Update account.dev.txt --- account.dev.txt | 104 ++++++++++++++++++++---------------------------- 1 file changed, 43 insertions(+), 61 deletions(-) diff --git a/account.dev.txt b/account.dev.txt index d58e98065..8bbb815d2 100644 --- a/account.dev.txt +++ b/account.dev.txt @@ -1,128 +1,110 @@ [ { "key": "dbln", - "value": "%7B%2261555776220826%22%3A%22FPTbyCzU%22%2C%2261574848619083%22%3A%22fyoUpfje%22%7D", + "value": "%7B%2261577573670718%22%3A%22aCeWDqZw%22%7D", "domain": "facebook.com", "path": "/login/device-based/", "hostOnly": false, - "creation": "2025-04-15T16:52:06.251Z", - "lastAccessed": "2025-04-15T16:52:06.258Z" + "creation": "2025-06-19T01:01:53.811Z", + "lastAccessed": "2025-06-19T01:01:53.815Z" }, { "key": "datr", - "value": "vqr4Z06azjEsXMjRDyN9XEUv", + "value": "omBTaA13OGsm3Vyl3RhHILHB", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-15T16:52:06.258Z", - "lastAccessed": "2025-04-15T16:52:06.258Z" + "creation": "2025-06-19T01:01:53.815Z", + "lastAccessed": "2025-06-19T01:01:53.815Z" }, { "key": "sb", - "value": "vqr4ZwzYpLdXlY5lgLtw1r96", + "value": "omBTaDBEO0Tnuphzpts2xFQl", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-15T16:52:06.258Z", - "lastAccessed": "2025-04-15T16:52:06.258Z" + "creation": "2025-06-19T01:01:53.815Z", + "lastAccessed": "2025-06-19T01:01:53.815Z" }, { - "key": "locale", - "value": "fr_FR", - "domain": "facebook.com", - "path": "/", - "hostOnly": false, - "creation": "2025-04-15T16:52:06.258Z", - "lastAccessed": "2025-04-15T16:52:06.258Z" - }, - { - "key": "ps_l", - "value": "1", - "domain": "facebook.com", - "path": "/", - "hostOnly": false, - "creation": "2025-04-15T16:52:06.258Z", - "lastAccessed": "2025-04-15T16:52:06.259Z" - }, - { - "key": "ps_n", - "value": "1", + "key": "m_pixel_ratio", + "value": "2.75", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-15T16:52:06.259Z", - "lastAccessed": "2025-04-15T16:52:06.259Z" + "creation": "2025-06-19T01:01:53.815Z", + "lastAccessed": "2025-06-19T01:01:53.815Z" }, { - "key": "vpd", - "value": "v1%3B654x393x2.75", + "key": "wd", + "value": "393x786", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-15T16:52:06.259Z", - "lastAccessed": "2025-04-15T16:52:06.259Z" + "creation": "2025-06-19T01:01:53.815Z", + "lastAccessed": "2025-06-19T01:01:53.815Z" }, { - "key": "m_pixel_ratio", - "value": "2.75", + "key": "c_user", + "value": "61577573670718", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-15T16:52:06.259Z", - "lastAccessed": "2025-04-15T16:52:06.259Z" + "creation": "2025-06-19T01:01:53.815Z", + "lastAccessed": "2025-06-19T01:01:53.815Z" }, { - "key": "c_user", - "value": "61571799126603", + "key": "xs", + "value": "5%3AHnkoGU-she-ivg%3A2%3A1750294710%3A-1%3A-1", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-15T16:52:06.259Z", - "lastAccessed": "2025-04-15T16:52:06.259Z" + "creation": "2025-06-19T01:01:53.815Z", + "lastAccessed": "2025-06-19T01:01:53.815Z" }, { "key": "fr", - "value": "0WiB3PuLM0LXZhxAf.AWedevhzOIHcRQ4MtbNjJC3uT-5PPdrihkmz-EZVOSD1Gi8XwoE.Bn-Kq-..AAA.0.0.Bn_o5U.AWea6z0W6KpwPZP8Q7VB4BsOAg0", + "value": "0SJxhUO6luulgwx1V.AWe9rXpssatzrrI5_AVWOGStFrFM9bRcYXSb-seUkoloqtBbXPo.BoU2Ci..AAA.0.0.BoU2C9.AWc2JKGYVyfHEuNsf1vn5x_mPj0", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-15T16:52:06.259Z", - "lastAccessed": "2025-04-15T16:52:06.259Z" + "creation": "2025-06-19T01:01:53.815Z", + "lastAccessed": "2025-06-19T01:01:53.815Z" }, { - "key": "xs", - "value": "43%3AD4_UtTdTY4FOZw%3A2%3A1744735829%3A-1%3A7715", + "key": "locale", + "value": "fr_FR", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-15T16:52:06.259Z", - "lastAccessed": "2025-04-15T16:52:06.259Z" + "creation": "2025-06-19T01:01:53.815Z", + "lastAccessed": "2025-06-19T01:01:53.815Z" }, { - "key": "wd", - "value": "393x654", + "key": "wl_cbv", + "value": "v2%3Bclient_version%3A2847%3Btimestamp%3A1750294717", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-15T16:52:06.259Z", - "lastAccessed": "2025-04-15T16:52:06.259Z" + "creation": "2025-06-19T01:01:53.815Z", + "lastAccessed": "2025-06-19T01:01:53.816Z" }, { "key": "fbl_st", - "value": "101022367%3BT%3A29078930", + "value": "101033152%3BT%3A29171578", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-15T16:52:06.259Z", - "lastAccessed": "2025-04-15T16:52:06.259Z" + "creation": "2025-06-19T01:01:53.816Z", + "lastAccessed": "2025-06-19T01:01:53.816Z" }, { - "key": "wl_cbv", - "value": "v2%3Bclient_version%3A2789%3Btimestamp%3A1744735841", + "key": "vpd", + "value": "v1%3B654x393x2.75", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-04-15T16:52:06.259Z", - "lastAccessed": "2025-04-15T16:52:06.259Z" + "creation": "2025-06-19T01:01:53.816Z", + "lastAccessed": "2025-06-19T01:01:53.816Z" } ] From c6a06066a6621bec9a29c50d0cd64e819aa562cc Mon Sep 17 00:00:00 2001 From: Evabot Date: Thu, 19 Jun 2025 08:35:10 +0100 Subject: [PATCH 59/60] Update account.dev.txt --- account.dev.txt | 90 ++++++++++++++++++++++++------------------------- 1 file changed, 45 insertions(+), 45 deletions(-) diff --git a/account.dev.txt b/account.dev.txt index 8bbb815d2..5adc1f08a 100644 --- a/account.dev.txt +++ b/account.dev.txt @@ -5,106 +5,106 @@ "domain": "facebook.com", "path": "/login/device-based/", "hostOnly": false, - "creation": "2025-06-19T01:01:53.811Z", - "lastAccessed": "2025-06-19T01:01:53.815Z" + "creation": "2025-06-19T07:34:24.070Z", + "lastAccessed": "2025-06-19T07:34:24.075Z" }, { - "key": "datr", - "value": "omBTaA13OGsm3Vyl3RhHILHB", + "key": "m_pixel_ratio", + "value": "2.75", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-06-19T01:01:53.815Z", - "lastAccessed": "2025-06-19T01:01:53.815Z" + "creation": "2025-06-19T07:34:24.075Z", + "lastAccessed": "2025-06-19T07:34:24.075Z" }, { - "key": "sb", - "value": "omBTaDBEO0Tnuphzpts2xFQl", + "key": "wd", + "value": "393x786", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-06-19T01:01:53.815Z", - "lastAccessed": "2025-06-19T01:01:53.815Z" + "creation": "2025-06-19T07:34:24.075Z", + "lastAccessed": "2025-06-19T07:34:24.075Z" }, { - "key": "m_pixel_ratio", - "value": "2.75", + "key": "locale", + "value": "fr_FR", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-06-19T01:01:53.815Z", - "lastAccessed": "2025-06-19T01:01:53.815Z" + "creation": "2025-06-19T07:34:24.075Z", + "lastAccessed": "2025-06-19T07:34:24.075Z" }, { - "key": "wd", - "value": "393x786", + "key": "vpd", + "value": "v1%3B654x393x2.75", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-06-19T01:01:53.815Z", - "lastAccessed": "2025-06-19T01:01:53.815Z" + "creation": "2025-06-19T07:34:24.075Z", + "lastAccessed": "2025-06-19T07:34:24.075Z" }, { - "key": "c_user", - "value": "61577573670718", + "key": "datr", + "value": "1GhTaKqjDaSs-VxCi1A9f_rO", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-06-19T01:01:53.815Z", - "lastAccessed": "2025-06-19T01:01:53.815Z" + "creation": "2025-06-19T07:34:24.075Z", + "lastAccessed": "2025-06-19T07:34:24.075Z" }, { - "key": "xs", - "value": "5%3AHnkoGU-she-ivg%3A2%3A1750294710%3A-1%3A-1", + "key": "sb", + "value": "8GhTaGZJvmwi6GHokfLW1YsK", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-06-19T01:01:53.815Z", - "lastAccessed": "2025-06-19T01:01:53.815Z" + "creation": "2025-06-19T07:34:24.075Z", + "lastAccessed": "2025-06-19T07:34:24.075Z" }, { - "key": "fr", - "value": "0SJxhUO6luulgwx1V.AWe9rXpssatzrrI5_AVWOGStFrFM9bRcYXSb-seUkoloqtBbXPo.BoU2Ci..AAA.0.0.BoU2C9.AWc2JKGYVyfHEuNsf1vn5x_mPj0", + "key": "c_user", + "value": "61577573670718", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-06-19T01:01:53.815Z", - "lastAccessed": "2025-06-19T01:01:53.815Z" + "creation": "2025-06-19T07:34:24.075Z", + "lastAccessed": "2025-06-19T07:34:24.075Z" }, { - "key": "locale", - "value": "fr_FR", + "key": "xs", + "value": "38%3AY4a_eTTO5J8N_w%3A2%3A1750318419%3A-1%3A-1", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-06-19T01:01:53.815Z", - "lastAccessed": "2025-06-19T01:01:53.815Z" + "creation": "2025-06-19T07:34:24.076Z", + "lastAccessed": "2025-06-19T07:34:24.076Z" }, { - "key": "wl_cbv", - "value": "v2%3Bclient_version%3A2847%3Btimestamp%3A1750294717", + "key": "fr", + "value": "0SJxhUO6luulgwx1V.AWfMKa2J_tiC3DdkFJZu_wJiT1YEdynS7zsWVwC5ziMExK_TiV8.BoU2Ci..AAA.0.0.BoU71Z.AWfLWpHJoIhyC2UhYVbY-J3PKCM", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-06-19T01:01:53.815Z", - "lastAccessed": "2025-06-19T01:01:53.816Z" + "creation": "2025-06-19T07:34:24.076Z", + "lastAccessed": "2025-06-19T07:34:24.076Z" }, { "key": "fbl_st", - "value": "101033152%3BT%3A29171578", + "value": "101236192%3BT%3A29171973", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-06-19T01:01:53.816Z", - "lastAccessed": "2025-06-19T01:01:53.816Z" + "creation": "2025-06-19T07:34:24.076Z", + "lastAccessed": "2025-06-19T07:34:24.076Z" }, { - "key": "vpd", - "value": "v1%3B654x393x2.75", + "key": "wl_cbv", + "value": "v2%3Bclient_version%3A2847%3Btimestamp%3A1750318425", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-06-19T01:01:53.816Z", - "lastAccessed": "2025-06-19T01:01:53.816Z" + "creation": "2025-06-19T07:34:24.076Z", + "lastAccessed": "2025-06-19T07:34:24.076Z" } ] From 1929b8f8b347a8d721e141a3f3b81e3a0509673f Mon Sep 17 00:00:00 2001 From: Evabot Date: Tue, 1 Jul 2025 19:58:28 +0100 Subject: [PATCH 60/60] Update account.dev.txt --- account.dev.txt | 92 ++++++++++++++++++++++++------------------------- 1 file changed, 46 insertions(+), 46 deletions(-) diff --git a/account.dev.txt b/account.dev.txt index 5adc1f08a..2e1bd6e24 100644 --- a/account.dev.txt +++ b/account.dev.txt @@ -1,110 +1,110 @@ [ { "key": "dbln", - "value": "%7B%2261577573670718%22%3A%22aCeWDqZw%22%7D", + "value": "%7B%2261577304249730%22%3A%22Q5Jvp9aw%22%7D", "domain": "facebook.com", "path": "/login/device-based/", "hostOnly": false, - "creation": "2025-06-19T07:34:24.070Z", - "lastAccessed": "2025-06-19T07:34:24.075Z" + "creation": "2025-07-01T18:57:04.204Z", + "lastAccessed": "2025-07-01T18:57:04.208Z" }, { - "key": "m_pixel_ratio", - "value": "2.75", + "key": "datr", + "value": "MS5kaO2TSu-52uShSWWyLfOA", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-06-19T07:34:24.075Z", - "lastAccessed": "2025-06-19T07:34:24.075Z" + "creation": "2025-07-01T18:57:04.209Z", + "lastAccessed": "2025-07-01T18:57:04.209Z" }, { - "key": "wd", - "value": "393x786", + "key": "sb", + "value": "MS5kaGS5Uh9Xk3nKOyOtqFTL", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-06-19T07:34:24.075Z", - "lastAccessed": "2025-06-19T07:34:24.075Z" + "creation": "2025-07-01T18:57:04.209Z", + "lastAccessed": "2025-07-01T18:57:04.209Z" }, { - "key": "locale", - "value": "fr_FR", + "key": "m_pixel_ratio", + "value": "2.75", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-06-19T07:34:24.075Z", - "lastAccessed": "2025-06-19T07:34:24.075Z" + "creation": "2025-07-01T18:57:04.209Z", + "lastAccessed": "2025-07-01T18:57:04.209Z" }, { - "key": "vpd", - "value": "v1%3B654x393x2.75", + "key": "wd", + "value": "393x786", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-06-19T07:34:24.075Z", - "lastAccessed": "2025-06-19T07:34:24.075Z" + "creation": "2025-07-01T18:57:04.209Z", + "lastAccessed": "2025-07-01T18:57:04.209Z" }, { - "key": "datr", - "value": "1GhTaKqjDaSs-VxCi1A9f_rO", + "key": "c_user", + "value": "61577304249730", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-06-19T07:34:24.075Z", - "lastAccessed": "2025-06-19T07:34:24.075Z" + "creation": "2025-07-01T18:57:04.209Z", + "lastAccessed": "2025-07-01T18:57:04.209Z" }, { - "key": "sb", - "value": "8GhTaGZJvmwi6GHokfLW1YsK", + "key": "xs", + "value": "46%3AeKkiadv2zZVncQ%3A2%3A1751396146%3A-1%3A-1", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-06-19T07:34:24.075Z", - "lastAccessed": "2025-06-19T07:34:24.075Z" + "creation": "2025-07-01T18:57:04.209Z", + "lastAccessed": "2025-07-01T18:57:04.209Z" }, { - "key": "c_user", - "value": "61577573670718", + "key": "fr", + "value": "0kYGsfuGABPqUJVyb.AWdRJzqZg0Gvk5pHWD4a3lJskmWBYLcSS_E_kLH0hKwfPTkcGR8.BoZC4x..AAA.0.0.BoZC83.AWdGpTSX9nzuxUFAVSCBm5p_j1g", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-06-19T07:34:24.075Z", - "lastAccessed": "2025-06-19T07:34:24.075Z" + "creation": "2025-07-01T18:57:04.209Z", + "lastAccessed": "2025-07-01T18:57:04.209Z" }, { - "key": "xs", - "value": "38%3AY4a_eTTO5J8N_w%3A2%3A1750318419%3A-1%3A-1", + "key": "locale", + "value": "fr_FR", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-06-19T07:34:24.076Z", - "lastAccessed": "2025-06-19T07:34:24.076Z" + "creation": "2025-07-01T18:57:04.209Z", + "lastAccessed": "2025-07-01T18:57:04.209Z" }, { - "key": "fr", - "value": "0SJxhUO6luulgwx1V.AWfMKa2J_tiC3DdkFJZu_wJiT1YEdynS7zsWVwC5ziMExK_TiV8.BoU2Ci..AAA.0.0.BoU71Z.AWfLWpHJoIhyC2UhYVbY-J3PKCM", + "key": "wl_cbv", + "value": "v2%3Bclient_version%3A2856%3Btimestamp%3A1751396151", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-06-19T07:34:24.076Z", - "lastAccessed": "2025-06-19T07:34:24.076Z" + "creation": "2025-07-01T18:57:04.209Z", + "lastAccessed": "2025-07-01T18:57:04.209Z" }, { "key": "fbl_st", - "value": "101236192%3BT%3A29171973", + "value": "101523806%3BT%3A29189935", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-06-19T07:34:24.076Z", - "lastAccessed": "2025-06-19T07:34:24.076Z" + "creation": "2025-07-01T18:57:04.209Z", + "lastAccessed": "2025-07-01T18:57:04.209Z" }, { - "key": "wl_cbv", - "value": "v2%3Bclient_version%3A2847%3Btimestamp%3A1750318425", + "key": "vpd", + "value": "v1%3B654x393x2.75", "domain": "facebook.com", "path": "/", "hostOnly": false, - "creation": "2025-06-19T07:34:24.076Z", - "lastAccessed": "2025-06-19T07:34:24.076Z" + "creation": "2025-07-01T18:57:04.209Z", + "lastAccessed": "2025-07-01T18:57:04.209Z" } ]