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.
@@ -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.Priyansh.AntiGetInfo.Database_Type == "json") {
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fca-uzair-rajput",
3
- "version": "2.0.0",
3
+ "version": "2.2.0",
4
4
  "description": "Facebook-chat-api made by uzair rajput",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
 
3
3
  /**
4
- * Được Fix Hay Làm Màu Bởi: @HarryWakazaki
5
- * 21/4/2022
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.Priyansh.AntiSendAppState == true) {
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.Priyansh.AntiSendAppState) {
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'];