@dinzid/bailstao 0.0.7 → 0.0.8

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 +25 -49
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -3,55 +3,31 @@
3
3
  const chalk = require("chalk");
4
4
  const { version } = require("../package.json");
5
5
 
6
- const asciiArt = `
7
- ██████╗ ██╗███╗ ██╗███████╗ ██╗██████╗
8
- ██╔══██╗██║████╗ ██║╚══███╔╝ ██║██╔══██╗
9
- ██║ ██║██║██╔██╗ ██║ ███╔╝ ██║██║ ██║
10
- ██║ ██║██║██║╚██╗██║ ███╔╝ ██║██║ ██║
11
- ██████╔╝██║██║ ╚████║███████╗ ██║██████╔╝
12
- ╚═════╝ ╚═╝╚═╝ ╚═══╝╚══════╝ ╚═╝╚═════╝
13
- `;
14
-
15
- const frames = ["⠋", "⠙", "⠹", "⠸", "⠼", "⠴", "⠦", "⠧", "⠇", "⠏"];
16
- let i = 0;
17
- let step = 0;
18
-
19
- const stages = [
20
- "Booting up system core...",
21
- "Establishing connection to WhatsApp...",
22
- "Syncing modules and database...",
23
- "Finalizing setup..."
24
- ];
25
-
26
- const spinnerInterval = setInterval(() => {
27
- const frame = chalk.cyanBright(frames[i = ++i % frames.length]);
28
- const text = chalk.whiteBright(stages[step]);
29
-
30
- console.clear();
31
- console.log(chalk.cyanBright(asciiArt));
32
- console.log(chalk.gray(`[ System Version: ${version} ]\n`));
33
- console.log(` ${frame} ${text}`);
34
- }, 80);
35
-
36
- setTimeout(() => step = 1, 1200);
37
- setTimeout(() => step = 2, 2500);
38
- setTimeout(() => step = 3, 3800);
39
-
40
- setTimeout(() => {
41
- clearInterval(spinnerInterval);
42
-
43
- console.clear();
44
- console.log(chalk.cyanBright(asciiArt));
45
- console.log(chalk.gray(`[ System Version: ${version} ]\n`));
46
-
47
- console.log(chalk.greenBright(" [✓] SYSTEM ONLINE\n"));
48
-
49
- console.log(chalk.cyan(" ┌────────────────────────────────────────┐"));
50
- console.log(chalk.cyan(" │") + chalk.whiteBright(" Author : ") + chalk.cyanBright("DinzID") + " " + chalk.cyan("│"));
51
- console.log(chalk.cyan(" │") + chalk.whiteBright(" Status : ") + chalk.greenBright("Connected & Running") + " " + chalk.cyan("│"));
52
- console.log(chalk.cyan(" │") + chalk.redBright(" [!] MASUKAN NOMOR WHATSAPP BOT") + " " + chalk.cyan("│"));
53
- console.log(chalk.cyan(" └────────────────────────────────────────┘\n"));
54
- }, 5000);
6
+ const reset = '\x1b[0m'
7
+ const green = '\x1b[92m'
8
+ const yellow = '\x1b[93m'
9
+ const cyan = '\x1b[96m'
10
+ const white = '\x1b[97m'
11
+ const bold = '\x1b[1m'
12
+ console.log(`
13
+ ${cyan}${bold}⣿⣿⣷⡁⢆⠈⠕⢕⢂⢕⢂⢕⢂⢔⢂⢕⢄⠂⣂⠂⠆⢂⢕⢂⢕⢂⢕⢂⢕⢂
14
+ ${cyan}${bold}⣿⣿⣿⡷⠊⡢⡹⣦⡑⢂⢕⢂⢕⢂⢕⢂⠕⠔⠌⠝⠛⠶⠶⢶⣦⣄⢂⢕⢂⢕
15
+ ${cyan}${bold}⣿⣿⠏⣠⣾⣦⡐⢌⢿⣷⣦⣅⡑⠕⠡⠐⢿⠿⣛⠟⠛⠛⠛⠛⠡⢷⡈⢂⢕⢂
16
+ ${cyan}${bold}⠟⣡⣾⣿⣿⣿⣿⣦⣑⠝⢿⣿⣿⣿⣿⣿⡵⢁⣤⣶⣶⣿⢿⢿⢿⡟⢻⣤⢑⢂
17
+ ${cyan}${bold}⣾⣿⣿⡿⢟⣛⣻⣿⣿⣿⣦⣬⣙⣻⣿⣿⣷⣿⣿⢟⢝⢕⢕⢕⢕⢽⣿⣿⣷⣔
18
+ ${cyan}${bold}⣿⣿⠵⠚⠉⢀⣀⣀⣈⣿⣿⣿⣿⣿⣿⣿⣿⣿⣗⢕⢕⢕⢕⢕⢕⣽⣿⣿⣿⣿
19
+ ${cyan}${bold}⢷⣂⣠⣴⣾⡿⡿⡻⡻⣿⣿⣴⣿⣿⣿⣿⣿⣿⣷⣵⣵⣵⣷⣿⣿⣿⣿⣿⣿⡿
20
+ ${cyan}${bold}⢌⠻⣿⡿⡫⡪⡪⡪⡪⣺⣿⣿⣿⣿⣿⠿⠿⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠃
21
+ ${cyan}${bold}⠣⡁⠹⡪⡪⡪⡪⣪⣾⣿⣿⣿⣿⠋⠐⢉⢍⢄⢌⠻⣿⣿⣿⣿⣿⣿⣿⣿⠏⠈
22
+ ${cyan}${bold}⡣⡘⢄⠙⣾⣾⣾⣿⣿⣿⣿⣿⣿⡀⢐⢕⢕⢕⢕⢕⡘⣿⣿⣿⣿⣿⣿⠏⠠⠈
23
+ ${cyan}${bold}⠌⢊⢂⢣⠹⣿⣿⣿⣿⣿⣿⣿⣿⣧⢐⢕⢕⢕⢕⢕⢅⣿⣿⣿⣿⡿⢋⢜⠠⠈
24
+ ${cyan}${bold}⠄⠁⠕⢝⡢⠈⠻⣿⣿⣿⣿⣿⣿⣿⣷⣕⣑⣑⣑⣵⣿⣿⣿⡿⢋⢔⢕⣿⠠⠈
25
+ ${cyan}${bold}⠨⡂⡀⢑⢕⡅⠂⠄⠉⠛⠻⠿⢿⣿⣿⣿⣿⣿⣿⣿⣿⡿⢋⢔⢕⢕⣿⣿⠠⠈
26
+ ${cyan}${bold}⠄⠪⣂⠁⢕⠆⠄⠂⠄⠁⡀⠂⡀⠄⢈⠉⢍⢛⢛⢛⢋⢔⢕⢕⢕⣽⣿⣿⠠⠈${reset}
27
+
28
+ ${white} © 2022 2026 ${yellow}DinzID${reset}
29
+ ${white}Youtube: ${yellow}DinzID${reset}
30
+ `)
55
31
 
56
32
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
57
33
  if (k2 === undefined) k2 = k;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dinzid/bailstao",
3
- "version": "0.0.7",
3
+ "version": "0.0.8",
4
4
  "description": "Baileys Modification for whatsapp",
5
5
  "keywords": [
6
6
  "Modified",