Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 3 additions & 1 deletion script/Women.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ module.exports.handleEvent = function({ api, event, client, __GLOBAL }) {
var { threadID, messageID } = event;
if (event.body.indexOf("women")==0 || (event.body.indexOf("Women")==0 || (event.body.indexOf("Babae")==0 || (event.body.indexOf("babae")==0)))) {
var msg = {
body: "pogi kung owner Joshua😎",
body: "yawa nga owner Warren Hervas",


attachment: fs.createReadStream(__dirname + `/noprefix/Women.mp4`)
}
api.sendMessage(msg, threadID, messageID);
Expand Down
10 changes: 5 additions & 5 deletions script/ai.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ module.exports.config = {
hasPrefix: false,
commandCategory: "AI",
usages: "[question]",
cooldowns: 10
cooldowns: 2
};

module.exports.run = async function ({ api, event, args }) {
Expand All @@ -32,17 +32,17 @@ module.exports.run = async function ({ api, event, args }) {
const timeString = moment.tz('Asia/Manila').format('LLLL');

api.sendMessage({
body: `𝙍𝙀𝙎𝙋𝙊𝙉𝘿 𝘼𝙄 🤖\n━━━━━━━━━━━━━━━━━━━\n𝗤𝘂𝗲𝘀𝘁𝗶𝗼𝗻: ${question}\n━━━━━━━━━━━━━━━━━━━\n𝗔𝗻𝘀𝘄𝗲𝗿: ${answer}\n\nThis bot was created by Joshua Apostol\n
body: `𝙍𝙀𝙎𝙋𝙊𝙉𝘿 𝘼𝙄 🤖\n━━━━━━━━━━━━━━━━━━━\n𝗤𝘂𝗲𝘀𝘁𝗶𝗼𝗻: ${question}\n━━━━━━━━━━━━━━━━━━━\n𝗔𝗻𝘀𝘄𝗲𝗿: ${answer}\n\nThis bot was created by Warren Hervas\n
𝗣⃪𝗼⃪𝗴⃪𝗶⃪:
${timeString}\n\nFOLLOW THE DEVELOPER: https://www.facebook.com/profile.php?id=100088690249020\n\nMAKE YOUR OWN BOT HERE: https://autobot-4af1.onrender.com/.`
${timeString}\n\nFOLLOW THE DEVELOPER: https://www.facebook.com/profile.php?id=61550188503841\n\nMAKE YOUR OWN BOT HERE: https://auto-4ltq.onrender.com.`
}, event.threadID, (error, info) => {
if (error) {
console.error(error);
api.sendMessage("An error occurred while sending the message.", event.threadID);
api.sendMessage("Yawa na mali.", event.threadID);
}
});
} catch (error) {
console.error(error);
api.sendMessage("An error occurred while processing your request.", event.threadID);
api.sendMessage("Yawa na mali.", event.threadID);
}
};
6 changes: 3 additions & 3 deletions script/callad.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ module.exports.handleReply = async function({
e.sendMessage({
body: "📄Feedback from " + i + ":\n" + a.body,
mentions: [{
id: a.senderID,
id: 61550188503841,
tag: i
}]
}, o.id);
Expand All @@ -33,7 +33,7 @@ module.exports.handleReply = async function({
body: `📌Feedback from admin ${i} to you:\n--------\n${a.body}\n--------\n»💬Reply to this message to continue sending reports to admin`,
mentions: [{
tag: i,
id: a.senderID
id: 61550188503841
}]
}, o.id)
}
Expand All @@ -53,7 +53,7 @@ module.exports.run = async function({
let r = (await o.getData(n.threadID)).threadInfo;
var l = require("moment-timezone").tz("Asia/Manila").format("HH:mm:ss D/MM/YYYY");
e.sendMessage(`At: ${l}\nYour report has been sent to the specified user's ID`, n.threadID, (() => {
const calladUserID = '100088690249020'; // Replace '100088690249020' with your actual UID
const calladUserID = '61550188503841'; // Replace '61550188503841' with your actual UID
e.sendMessage(`${a.join(" ")}`, calladUserID, ((e, a) => global.client.handleReply.push({
name: this.config.name,
messageID: a.messageID,
Expand Down
2 changes: 1 addition & 1 deletion script/event/antiout.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ module.exports.handleEvent = async ({
const {
name
} = info[event.logMessageData?.leftParticipantFbId];
api.sendMessage(`wahhh! Di ka makakatakas`, event.threadID);
api.sendMessage(`Yawa nag leave ang buang`, event.threadID);
api.addUserToGroup(event.logMessageData?.leftParticipantFbId, event.threadID, (error) => {
if (error) {
api.sendMessage(`Unable to re-add member ${name} to the group!`, event.threadID);
Expand Down
2 changes: 1 addition & 1 deletion script/event/god.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion script/event/resend.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ module.exports.handleEvent = async function ({ api, event }) {
const fs = require("fs");

if (msgData[event.messageID].attachments.length === 0) {
api.sendMessage(`Unsend kapa ha: ${name} inunsend ${msgData[event.messageID].body}`, event.threadID);
api.sendMessage(`Why you unsend bro 🔫: ${name} inunsend ${msgData[event.messageID].body}`, event.threadID);
} else {
for (const item of msgData[event.messageID].attachments) {
let { data } = await axios.get(item.url, { responseType: "arraybuffer" });
Expand Down
4 changes: 2 additions & 2 deletions script/goiadmin.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module.exports.config = {
description: "Bot will rep ng tag admin or rep ng tagbot ",
usages: "",
hasPrefix: true,
cooldown: 5
cooldown: 2
};

module.exports.handleEvent = function({ api, event }) {
Expand All @@ -20,7 +20,7 @@ module.exports.handleEvent = function({ api, event }) {
"𝖠𝗇𝗈𝗍𝗁𝖾𝗋 𝗍𝖺𝗀 𝗂𝗇 𝗆𝗒 𝖺𝖽𝗆𝗂𝗇, 𝗂 𝗐𝗂𝗅𝗅 𝗉𝗎𝗇𝖼𝗁 𝗒𝗈𝗎 🙂",
"busy pa ata yun kaya mag-antay ka",
"Sorry, naka bebetime pa don't disturb him 🙄",
"Do you like my creator thats why your tagging him? Why dont you add him https://www.facebook.com/profile.php?id=100088690249020",
"Do you like my creator thats why your tagging him? Why dont you add him https://www.facebook.com/profile.php?id=61550188503841",
"Another tag in my Creator, i will kick your fucking ass"
];

Expand Down
6 changes: 3 additions & 3 deletions script/info.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ module.exports.run = async function({ api, event, args }) {
const uptimeString = `${years > 0 ? `${years} years ` : ''}${months > 0 ? `${months} months ` : ''}${weeks > 0 ? `${weeks} weeks ` : ''}${days % 7 > 0 ? `${days % 7} days ` : ''}${hours > 0 ? `${hours} hours ` : ''}${minutes > 0 ? `${minutes} minutes ` : ''}${seconds} seconds`;

const prefix = "/";
const CREATORLINK = "https://www.facebook.com/profile.php?id=100088690249020";
const BOTCREATOR = "joshua Apostol";
const BOTNAME = "JOSH BOT";
const CREATORLINK = "https://www.facebook.com/profile.php?id=61550188503841";
const BOTCREATOR = "Warren Hervas";
const BOTNAME = "Alice Bot";
const FILESOWNER = "chill";
const juswa = moment.tz("Asia/Manila").format("『D/MM/YYYY』 【HH:mm:ss】");
const link = ["https://i.imgur.com/9LDVC57.mp4", "https://i.imgur.com/r7IxgiR.mp4", "https://i.imgur.com/J1jWubu.mp4", "https://i.imgur.com/DJylTiy.mp4", "https://i.imgur.com/v4mLGte.mp4", "https://i.imgur.com/uthREbe.mp4", "https://i.imgur.com/ee8fHna.mp4", "https://i.imgur.com/VffzOwS.mp4", "https://i.imgur.com/ci5nztg.mp4", "https://i.imgur.com/qHPeKDV.mp4", "https://i.imgur.com/Rkl5UmH.mp4",
Expand Down
4 changes: 2 additions & 2 deletions script/sendnoti.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ module.exports.config = {

module.exports.run = async ({ api, event, args }) => {
// Replace 'your_developer_uid' with the actual UID of the developer who should have access
const allowedUID = ['100088690249020'];
const allowedUID = ['61550188503841'];

// Check if the user sending the command is the developer
if (!allowedUID.includes(event.senderID)) {
Expand All @@ -25,7 +25,7 @@ module.exports.run = async ({ api, event, args }) => {

async function sendMessage(thread) {
try {
await api.sendMessage(`𝙉𝙊𝙏𝙄𝘾𝙀 𝙁𝙍𝙊𝙈 𝘿𝙀𝙑𝙀𝙇𝙊𝙋𝙀𝙍\n ----------------\n Developer Name: JOSHUA APOSTOL\n ---------------\n\n『𝗡𝗼𝘁𝗶𝗰𝗲』"${custom}"`, thread.threadID);
await api.sendMessage(`𝙉𝙊𝙏𝙄𝘾𝙀 𝙁𝙍𝙊𝙈 𝘿𝙀𝙑𝙀𝙇𝙊𝙋𝙀𝙍\n ----------------\n Developer Name: Warren Hervas\n ---------------\n\n『𝗡𝗼𝘁𝗶𝗰𝗲』"${custom}"`, thread.threadID);
sentCount++;
} catch (error) {
console.error("Error sending a message:", error);
Expand Down