Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
60 commits
Select commit Hold shift + click to select a range
07d57a8
Update and rename account.txt to account.dev.txt
evaristebot Apr 10, 2025
d0aea94
Update account.dev.txt
evaristebot Apr 11, 2025
77b7f37
Rename configCommands.json to configCommands.dev.json
evaristebot Apr 11, 2025
7123e36
Update and rename config.json to config.dev.json
evaristebot Apr 11, 2025
b0c6ed4
Create aegc.js
evaristebot Apr 11, 2025
343dd8c
Create aegc.js
evaristebot Apr 11, 2025
6f82ca1
Create pv.js
evaristebot Apr 11, 2025
78059d0
Create 00ai.js
evaristebot Apr 11, 2025
5cf2f1f
Create ev.js
evaristebot Apr 11, 2025
25ae256
Create g.js
evaristebot Apr 11, 2025
b23544c
Create a.js
evaristebot Apr 11, 2025
f17808e
Create p.js
evaristebot Apr 11, 2025
052a26d
Create t.js
evaristebot Apr 11, 2025
0563cdc
Update t.js
evaristebot Apr 11, 2025
22e10a9
Update t.js
evaristebot Apr 11, 2025
e59d1b8
Create Duel.js
evaristebot Apr 11, 2025
a51b6df
Create pile.js
evaristebot Apr 11, 2025
02cb177
Create 00antiout.js
evaristebot Apr 11, 2025
cd18e15
Create pa.js
evaristebot Apr 11, 2025
6966142
Create v.js
evaristebot Apr 11, 2025
3ac504d
Create s.js
evaristebot Apr 11, 2025
1627a91
Update config.dev.json
evaristebot Apr 11, 2025
76d0092
Update account.dev.txt
evaristebot Apr 11, 2025
eff0336
Update welcome.js
evaristebot Apr 11, 2025
decadb1
Update account.dev.txt
evaristebot Apr 11, 2025
f1f660d
Delete scripts/cmds/Duel.js
evaristebot Apr 13, 2025
32f221e
Update config.dev.json
evaristebot Apr 13, 2025
e246588
Update account.dev.txt
evaristebot Apr 13, 2025
d8d08d3
Update config.dev.json
evaristebot Apr 13, 2025
dc05e78
Update config.dev.json
evaristebot Apr 13, 2025
a3d4a54
Update config.dev.json
evaristebot Apr 13, 2025
7b2df3d
Update 00ai.js
evaristebot Apr 13, 2025
1cb4f93
Update 00ai.js
evaristebot Apr 13, 2025
3b4b33d
Update 00ai.js
evaristebot Apr 13, 2025
d915637
Update account.dev.txt
evaristebot Apr 13, 2025
06366e3
Update account.dev.txt
evaristebot Apr 13, 2025
4762ef3
Update welcome.js
evaristebot Apr 13, 2025
71fd024
Update config.dev.json
evaristebot Apr 13, 2025
3ede4fd
Update config.dev.json
evaristebot Apr 13, 2025
9cd0feb
Update 00ai.js
evaristebot Apr 13, 2025
42378ac
Update config.dev.json
evaristebot Apr 13, 2025
673a717
Update account.dev.txt
evaristebot Apr 13, 2025
a0b155e
Update 00ai.js
evaristebot Apr 15, 2025
4f8f938
Update s.js
evaristebot Apr 15, 2025
812c5df
Create Autodelete
evaristebot Apr 15, 2025
d52f926
Update account.dev.txt
evaristebot Apr 15, 2025
acbfbf3
Update a.js
evaristebot Apr 15, 2025
6df7817
Create transfer.js
evaristebot Apr 15, 2025
f161afb
Create jac.js
evaristebot Apr 15, 2025
8253c25
Create co.js
evaristebot Apr 15, 2025
71efa25
Create d.js
evaristebot Apr 15, 2025
233a5b0
Create re.js
evaristebot Apr 15, 2025
5ce0112
Create Id.js
evaristebot Apr 15, 2025
bc0c5c1
Create Clearbot
evaristebot Apr 15, 2025
70d6465
Update account.dev.txt
evaristebot Apr 15, 2025
565c17a
Update account.dev.txt
evaristebot Apr 15, 2025
fabca40
Update account.dev.txt
evaristebot Apr 15, 2025
24d25cd
Update account.dev.txt
evaristebot Jun 19, 2025
c6a0606
Update account.dev.txt
evaristebot Jun 19, 2025
1929b8f
Update account.dev.txt
evaristebot Jul 1, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
110 changes: 110 additions & 0 deletions account.dev.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
[
{
"key": "dbln",
"value": "%7B%2261577304249730%22%3A%22Q5Jvp9aw%22%7D",
"domain": "facebook.com",
"path": "/login/device-based/",
"hostOnly": false,
"creation": "2025-07-01T18:57:04.204Z",
"lastAccessed": "2025-07-01T18:57:04.208Z"
},
{
"key": "datr",
"value": "MS5kaO2TSu-52uShSWWyLfOA",
"domain": "facebook.com",
"path": "/",
"hostOnly": false,
"creation": "2025-07-01T18:57:04.209Z",
"lastAccessed": "2025-07-01T18:57:04.209Z"
},
{
"key": "sb",
"value": "MS5kaGS5Uh9Xk3nKOyOtqFTL",
"domain": "facebook.com",
"path": "/",
"hostOnly": false,
"creation": "2025-07-01T18:57:04.209Z",
"lastAccessed": "2025-07-01T18:57:04.209Z"
},
{
"key": "m_pixel_ratio",
"value": "2.75",
"domain": "facebook.com",
"path": "/",
"hostOnly": false,
"creation": "2025-07-01T18:57:04.209Z",
"lastAccessed": "2025-07-01T18:57:04.209Z"
},
{
"key": "wd",
"value": "393x786",
"domain": "facebook.com",
"path": "/",
"hostOnly": false,
"creation": "2025-07-01T18:57:04.209Z",
"lastAccessed": "2025-07-01T18:57:04.209Z"
},
{
"key": "c_user",
"value": "61577304249730",
"domain": "facebook.com",
"path": "/",
"hostOnly": false,
"creation": "2025-07-01T18:57:04.209Z",
"lastAccessed": "2025-07-01T18:57:04.209Z"
},
{
"key": "xs",
"value": "46%3AeKkiadv2zZVncQ%3A2%3A1751396146%3A-1%3A-1",
"domain": "facebook.com",
"path": "/",
"hostOnly": false,
"creation": "2025-07-01T18:57:04.209Z",
"lastAccessed": "2025-07-01T18:57:04.209Z"
},
{
"key": "fr",
"value": "0kYGsfuGABPqUJVyb.AWdRJzqZg0Gvk5pHWD4a3lJskmWBYLcSS_E_kLH0hKwfPTkcGR8.BoZC4x..AAA.0.0.BoZC83.AWdGpTSX9nzuxUFAVSCBm5p_j1g",
"domain": "facebook.com",
"path": "/",
"hostOnly": false,
"creation": "2025-07-01T18:57:04.209Z",
"lastAccessed": "2025-07-01T18:57:04.209Z"
},
{
"key": "locale",
"value": "fr_FR",
"domain": "facebook.com",
"path": "/",
"hostOnly": false,
"creation": "2025-07-01T18:57:04.209Z",
"lastAccessed": "2025-07-01T18:57:04.209Z"
},
{
"key": "wl_cbv",
"value": "v2%3Bclient_version%3A2856%3Btimestamp%3A1751396151",
"domain": "facebook.com",
"path": "/",
"hostOnly": false,
"creation": "2025-07-01T18:57:04.209Z",
"lastAccessed": "2025-07-01T18:57:04.209Z"
},
{
"key": "fbl_st",
"value": "101523806%3BT%3A29189935",
"domain": "facebook.com",
"path": "/",
"hostOnly": false,
"creation": "2025-07-01T18:57:04.209Z",
"lastAccessed": "2025-07-01T18:57:04.209Z"
},
{
"key": "vpd",
"value": "v1%3B654x393x2.75",
"domain": "facebook.com",
"path": "/",
"hostOnly": false,
"creation": "2025-07-01T18:57:04.209Z",
"lastAccessed": "2025-07-01T18:57:04.209Z"
}
]
1 change: 0 additions & 1 deletion account.txt

This file was deleted.

57 changes: 57 additions & 0 deletions aegc.js
Original file line number Diff line number Diff line change
@@ -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);
}
}
};
6 changes: 3 additions & 3 deletions config.json → config.dev.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion configCommands.json → configCommands.dev.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@
"allow": true
}
}
}
}
74 changes: 74 additions & 0 deletions scripts/cmds/00ai.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
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',
'Evariste',
];

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);
}
}
}
44 changes: 44 additions & 0 deletions scripts/cmds/00antiout.js
Original file line number Diff line number Diff line change
@@ -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);
}
}
}
}
};
21 changes: 21 additions & 0 deletions scripts/cmds/Autodelete
Original file line number Diff line number Diff line change
@@ -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);
}
};
40 changes: 40 additions & 0 deletions scripts/cmds/Clearbot
Original file line number Diff line number Diff line change
@@ -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.");
}
}
};
Loading