sauruslord-baileys 2.0.8 → 2.0.9

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 +5 -31
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -2,19 +2,7 @@
2
2
 
3
3
  const chalk = require("chalk");
4
4
 
5
- const center = (text) => {
6
- const width = process.stdout.columns || 80
7
-
8
- return text
9
- .split("\n")
10
- .map(line => {
11
- const pad = Math.floor((width - line.length) / 2)
12
- return " ".repeat(Math.max(0, pad)) + line
13
- })
14
- .join("\n")
15
- }
16
-
17
- const banner = `
5
+ console.log(chalk.hex("#ffcc00")(`
18
6
  ⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠿⠿⠿⠿⠿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿
19
7
  ⣿⣿⣿⣿⣿⣿⣿⡿⠟⠋⠁⠀⠀⠀⠀⠀⠀⠀⠀⠈⠉⠛⢿⣿⣿⣿⣿⣿⣿⣿
20
8
  ⣿⣿⣿⣿⣿⡿⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠻⣿⣿⣿⣿⣿
@@ -29,24 +17,10 @@ const banner = `
29
17
  ⣿⣿⣿⣷⣄⠀⠙⢿⣿⣿⣿⣿⣿⢟⠍⠀⠀⠀⠉⠙⢿⣿⡿⠁⠀⢀⣾⣿⣿⣿
30
18
  ⣿⣿⣿⣿⣿⣧⣄⠀⠻⢿⣿⣿⠓⠁⠀⠀⠀⢀⣀⣴⠾⠋⠀⢀⣴⣿⣿⣿⣿⣿
31
19
  ⣿⣿⣿⣿⣿⣿⣿⣷⣦⣄⡈⠙⠛⠲⠶⠖⠛⠛⠉⢀⣠⣤⣾⣿⣿⣿⣿⣿⣿⣿
32
- ⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣶⣶⣶⣶⣶⣶⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿`
33
-
34
- console.log(chalk.hex("#ffcc00")(center(banner)))
35
-
36
- console.log(
37
- chalk.hex("#cc3333")(
38
- center("━━━━━━━ LORDSAURUS ━━━━━━━")
39
- ))
40
-
41
- console.log(
42
- chalk.hex("#00b894")(
43
- center("Baileys modified by: @lordsaurus")
44
- ));
45
-
46
- console.log(
47
- chalk.hex("#00b894")(
48
- center("Terimakasih Sudah Menggunakan Baileys Saya\n")
49
- ));
20
+ ⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣶⣶⣶⣶⣶⣶⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿`));
21
+ console.log(chalk.hex("#cc3333")(" ━━━━━━━ LORDSAURUS ━━━━━━━")))
22
+ console.log(chalk.hex("#00b894")("Baileys modified by: @lordsaurus\n"));
23
+ console.log(chalk.hex("#00b894")("Terimakasih Sudah Menggunakan Baileys Saya"));
50
24
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
51
25
  if (k2 === undefined) k2 = k;
52
26
  var desc = Object.getOwnPropertyDescriptor(m, k);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sauruslord-baileys",
3
- "version": "2.0.8",
3
+ "version": "2.0.9",
4
4
  "description": "WhatsApp Baileys Modification",
5
5
  "keywords": [
6
6
  "whatsapp",