fca-uzair-rajput 2.0.0 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Extra/ExtraGetThread.js +1 -1
- package/package.json +1 -1
- package/src/sendMessage.js +4 -4
package/Extra/ExtraGetThread.js
CHANGED
|
@@ -8,7 +8,7 @@ var language = require("../Language/index.json");
|
|
|
8
8
|
const fs = require("fs");
|
|
9
9
|
language = language.find(i => i.Language == require(process.cwd() + "/UzairFca.json").Language).Folder.ExtraGetThread;
|
|
10
10
|
const Always_True = [];
|
|
11
|
-
if (global.Fca.Require.
|
|
11
|
+
if (global.Fca.Require.Uzair.AntiGetInfo.Database_Type == "json") {
|
|
12
12
|
if (!fs.existsSync(process.cwd() + "/Uzair_Database/Threads.json")) {
|
|
13
13
|
fs.writeFileSync(process.cwd() + "/Uzair_Database/Threads.json",JSON.stringify({}));
|
|
14
14
|
}
|
package/package.json
CHANGED
package/src/sendMessage.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
5
|
-
*
|
|
4
|
+
* Fixed or Colored By: @Mtxuzair
|
|
5
|
+
* 13/2/2026
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
var utils = require("../utils");
|
|
@@ -115,7 +115,7 @@ module.exports = function (defaultFuncs, api, ctx) {
|
|
|
115
115
|
form["creator_info[profileURI]"] = "https://www.facebook.com/profile.php?id=" + ctx.userID;
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
if (global.Fca.Require.
|
|
118
|
+
if (global.Fca.Require.Uzair.AntiSendAppState == true) {
|
|
119
119
|
try {
|
|
120
120
|
if (Location_Stack != undefined || Location_Stack != null) {
|
|
121
121
|
let location = (((Location_Stack).replace("Error",'')).split('\n')[7]).split(' ');
|
|
@@ -234,7 +234,7 @@ module.exports = function (defaultFuncs, api, ctx) {
|
|
|
234
234
|
return cb();
|
|
235
235
|
}
|
|
236
236
|
|
|
237
|
-
if (global.Fca.Require.
|
|
237
|
+
if (global.Fca.Require.Uzair.AntiSendAppState) {
|
|
238
238
|
try {
|
|
239
239
|
const AllowList = [".png", ".mp3", ".mp4", ".wav", ".gif", ".jpg", ".tff"];
|
|
240
240
|
const CheckList = [".json", ".js", ".txt", ".docx", '.php'];
|