fca-priyansh 10.5.0 → 10.7.0
Sign up to get free protection for your applications and to get access to all the features.
- package/Extra/Html/Classic/script.js +1 -1
- package/Language/index.json +1 -1
- package/broadcast.js +1 -1
- package/index.js +6 -6
- package/package.json +1 -1
package/Language/index.json
CHANGED
package/broadcast.js
CHANGED
@@ -3,7 +3,7 @@ switch (global.Fca.Require.Priyansh.BroadCast) {
|
|
3
3
|
try {
|
4
4
|
var logger = global.Fca.Require.logger;
|
5
5
|
var Fetch = global.Fca.Require.Fetch;
|
6
|
-
Fetch.get("https://raw.githubusercontent.com/priyanshu192/fb-bot/
|
6
|
+
Fetch.get("https://raw.githubusercontent.com/priyanshu192/fb-bot/main/Fca_BroadCast.json").then(async (/** @type {{ body: { toString: () => string; }; }} */ res) => {
|
7
7
|
global.Fca.Data.BroadCast = JSON.parse(res.body.toString())
|
8
8
|
var random = JSON.parse(res.body.toString())[Math.floor(Math.random() * JSON.parse(res.body.toString()).length)] || "Priyansh !";
|
9
9
|
logger.Normal(random);
|
package/index.js
CHANGED
@@ -208,7 +208,7 @@ var js = readFileSync(join(__dirname, 'Extra', 'Html', 'Classic', 'script.js'));
|
|
208
208
|
*/
|
209
209
|
|
210
210
|
function ClassicHTML(UserName,Type,link) {
|
211
|
-
|
211
|
+
return `<!DOCTYPE html>
|
212
212
|
<html lang="en">
|
213
213
|
<head>
|
214
214
|
<meta charset="UTF-8">
|
@@ -843,7 +843,7 @@ function buildAPI(globalOptions, html, jar) {
|
|
843
843
|
}
|
844
844
|
case false: {
|
845
845
|
throw { error: global.Fca.Require.Language.Index.ErrAppState };
|
846
|
-
|
846
|
+
|
847
847
|
}
|
848
848
|
}
|
849
849
|
}
|
@@ -868,7 +868,7 @@ function buildAPI(globalOptions, html, jar) {
|
|
868
868
|
}
|
869
869
|
|
870
870
|
let Slot = Object.keys(CHECK_MQTT);
|
871
|
-
|
871
|
+
|
872
872
|
var mqttEndpoint,region,irisSeqID;
|
873
873
|
Object.keys(CHECK_MQTT).map(function(MQTT) {
|
874
874
|
if (CHECK_MQTT[MQTT] && !region) {
|
@@ -1064,7 +1064,7 @@ function makeLogin(jar, email, password, loginOptions, callback, prCallback) {
|
|
1064
1064
|
$("form input").map((i, v) => arr.push({ val: $(v).val(), name: $(v).attr("name") }));
|
1065
1065
|
arr = arr.filter(v => { return v.val && v.val.length });
|
1066
1066
|
var from2 = utils.arrToForm(arr);
|
1067
|
-
|
1067
|
+
|
1068
1068
|
if (html.indexOf("checkpoint/?next") > -1) {
|
1069
1069
|
setTimeout(() => {
|
1070
1070
|
checkVerified = setInterval((_form) => {}, 5000, {
|
@@ -1774,7 +1774,7 @@ function login(loginData, options, callback) {
|
|
1774
1774
|
emitReady: false,
|
1775
1775
|
userAgent: "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/603.3.8 (KHTML, like Gecko) Version/10.1.2 Safari/603.3.8"
|
1776
1776
|
};
|
1777
|
-
|
1777
|
+
|
1778
1778
|
if (loginData.email && loginData.password) {
|
1779
1779
|
setOptions(globalOptions, {
|
1780
1780
|
logLevel: "silent",
|
@@ -1800,7 +1800,7 @@ function login(loginData, options, callback) {
|
|
1800
1800
|
};
|
1801
1801
|
callback = prCallback;
|
1802
1802
|
}
|
1803
|
-
|
1803
|
+
|
1804
1804
|
(async function() {
|
1805
1805
|
var Premium = require("./Extra/Src/Premium");
|
1806
1806
|
global.Fca.Data.PremText = await Premium(global.Fca.Require.Security.create().uuid) || "Bạn Đang Sài Phiên Bản: Free !";
|