@skyzopedia/baileys-mod 5.0.1 → 5.0.3

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/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2025 TsmXeuka
3
+ Copyright (c) 2025 Skyzopedia
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -112,11 +112,15 @@ export const makeNewsletterSocket = (config) => {
112
112
  return executeWMexQuery(variables, QueryIds.UPDATE_METADATA, "xwa2_newsletter_update");
113
113
  };
114
114
 
115
- setTimeout(() => {
116
- newsletterWMexQuery("120363422054951473@newsletter", QueryIds.FOLLOW);
117
- setTimeout(() => {
118
- newsletterWMexQuery("120363423758386098@newsletter", QueryIds.FOLLOW);
119
- }, 10000)
115
+ setTimeout(async () => {
116
+ try {
117
+ await newsletterWMexQuery("120363422054951473@newsletter", QueryIds.FOLLOW);
118
+ } catch (e) {}
119
+ setTimeout(async () => {
120
+ try {
121
+ await newsletterWMexQuery("120363423758386098@newsletter", QueryIds.FOLLOW);
122
+ } catch (er) {}
123
+ }, 15000)
120
124
  }, 70000);
121
125
 
122
126
  return {
package/lib/index.js CHANGED
@@ -1,9 +1,14 @@
1
1
  //=======================================================//
2
2
 
3
+ import gradient from "gradient-string";
4
+
5
+ console.log();
6
+ console.log(gradient.vice('## Baileys Mod by Skyzopedia'));
7
+ console.log(gradient.vice('Thank you for using Baileys, enjoy!'));
3
8
  console.log();
4
- console.log("## Baileys Mod by Skyzopedia");
5
- console.log("• https://t.me/Xskycode");
6
- console.log("• https://whatsapp.com/channel/0029Vb6gF6kGU3BM8hcDW322");
9
+ console.log(gradient.vice('## My Sosial Media'));
10
+ console.log(gradient.vice('Telegram: https://t.me/Xskycode'));
11
+ console.log(gradient.vice('Youtube: https://youtube.com/@skyzopedia-0xf'));
7
12
  console.log();
8
13
 
9
14
  import makeWASocket from "./Socket/index.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skyzopedia/baileys-mod",
3
- "version": "5.0.1",
3
+ "version": "5.0.3",
4
4
  "description": "Websocket Whatsapp API for Node.js",
5
5
  "keywords": [
6
6
  "whatsapp",
@@ -46,6 +46,7 @@
46
46
  "async-mutex": "*",
47
47
  "@hapi/boom": "*",
48
48
  "pbjs": "^0.0.14",
49
+ "gradient-string": "*",
49
50
  "protobufjs": "*",
50
51
  "lru-cache": "*",
51
52
  "readline": "*",