@xvortexsockets/baileys 1.0.0 → 1.0.1

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.
Files changed (2) hide show
  1. package/lib/index.js +9 -23
  2. package/package.json +2 -2
package/lib/index.js CHANGED
@@ -5,14 +5,14 @@ const gradient = require("gradient-string");
5
5
 
6
6
  const thanks = "terimakasih telah menggunakan @xvortexsockets/baileys";
7
7
 
8
- const vyzen = `
9
- ┏━━━┓┏┓──┏┓─┏━┓┏━┓┏━━━┓
10
- ┃┏━┓┃┃┃─┏┛┗┓┗┓┗┛┏┛┗┓┏┓┃
11
- ┃┃─┃┃┃┃─┗┓┏┛─┗┓┏┛──┃┃┃┃
12
- ┃┗━┛┃┃┃──┃┃──┏┛┗┓──┃┃┃┃
13
- ┃┏━┓┃┃┗┓─┃┗┓┏┛┏┓┗┓┏┛┗┛┃
14
- ┗┛━┗┛┗━┛─┗━┛┗━┛┗━┛┗━━━┛
15
- `;
8
+ const vyzen = [
9
+ `┏━━━┓┏┓──┏┓─┏━┓┏━┓┏━━━┓`,
10
+ `┃┏━┓┃┃┃─┏┛┗┓┗┓┗┛┏┛┗┓┏┓┃`,
11
+ `┃┃─┃┃┃┃─┗┓┏┛─┗┓┏┛──┃┃┃┃`,
12
+ `┃┗━┛┃┃┃──┃┃──┏┛┗┓──┃┃┃┃`,
13
+ `┃┏━┓┃┃┗┓─┃┗┓┏┛┏┓┗┓┏┛┗┛┃`,
14
+ `┗┛━┗┛┗━┛─┗━┛┗━┛┗━┛┗━━━┛`
15
+ ].join("\n");
16
16
 
17
17
  const thanksColor = [
18
18
  "#A2D2FF",
@@ -23,21 +23,7 @@ const thanksColor = [
23
23
  ];
24
24
 
25
25
  console.log(gradient(thanksColor)(thanks));
26
-
27
- let i = 0;
28
- setInterval(() => {
29
- console.clear();
30
- console.log(gradient(thanksColor)(thanks));
31
-
32
- const rainbow = [
33
- gradient(["#ff0000","#ff7f00","#ffff00"]),
34
- gradient(["#00ff00","#00ffff","#0000ff"]),
35
- gradient(["#8b00ff","#ff00ff","#ff0000"])
36
- ];
37
-
38
- console.log(rainbow[i % rainbow.length](vyzen));
39
- i++;
40
- }, 400);
26
+ console.log(gradient.rainbow(vyzen));
41
27
 
42
28
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
43
29
  if (k2 === undefined) k2 = k;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xvortexsockets/baileys",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Baileys Mod By AltOffx",
5
5
  "keywords": [
6
6
  "baileys",
@@ -103,4 +103,4 @@
103
103
  "engines": {
104
104
  "node": ">=20.0.0"
105
105
  }
106
- }
106
+ }