sauruslord-baileys 2.0.6 → 2.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.
- package/lib/index.js +28 -8
- package/package.json +1 -2
package/lib/index.js
CHANGED
|
@@ -3,12 +3,18 @@
|
|
|
3
3
|
const chalk = require("chalk");
|
|
4
4
|
|
|
5
5
|
const center = (text) => {
|
|
6
|
-
const width = process.stdout.columns
|
|
7
|
-
|
|
8
|
-
return
|
|
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")
|
|
9
15
|
}
|
|
10
16
|
|
|
11
|
-
|
|
17
|
+
const banner = `
|
|
12
18
|
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠿⠿⠿⠿⠿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿
|
|
13
19
|
⣿⣿⣿⣿⣿⣿⣿⡿⠟⠋⠁⠀⠀⠀⠀⠀⠀⠀⠀⠈⠉⠛⢿⣿⣿⣿⣿⣿⣿⣿
|
|
14
20
|
⣿⣿⣿⣿⣿⡿⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠻⣿⣿⣿⣿⣿
|
|
@@ -23,10 +29,24 @@ console.log(chalk.hex("#ffcc00")(`
|
|
|
23
29
|
⣿⣿⣿⣷⣄⠀⠙⢿⣿⣿⣿⣿⣿⢟⠍⠀⠀⠀⠉⠙⢿⣿⡿⠁⠀⢀⣾⣿⣿⣿
|
|
24
30
|
⣿⣿⣿⣿⣿⣧⣄⠀⠻⢿⣿⣿⠓⠁⠀⠀⠀⢀⣀⣴⠾⠋⠀⢀⣴⣿⣿⣿⣿⣿
|
|
25
31
|
⣿⣿⣿⣿⣿⣿⣿⣷⣦⣄⡈⠙⠛⠲⠶⠖⠛⠛⠉⢀⣠⣤⣾⣿⣿⣿⣿⣿⣿⣿
|
|
26
|
-
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣶⣶⣶⣶⣶⣶⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿`
|
|
27
|
-
|
|
28
|
-
console.log(chalk.hex("#
|
|
29
|
-
|
|
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
|
+
));
|
|
30
50
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
31
51
|
if (k2 === undefined) k2 = k;
|
|
32
52
|
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.
|
|
3
|
+
"version": "2.0.8",
|
|
4
4
|
"description": "WhatsApp Baileys Modification",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"whatsapp",
|
|
@@ -80,7 +80,6 @@
|
|
|
80
80
|
"json": "^11.0.0"
|
|
81
81
|
},
|
|
82
82
|
"peerDependencies": {
|
|
83
|
-
"jimp": "^0.16.1",
|
|
84
83
|
"link-preview-js": "^3.0.0",
|
|
85
84
|
"qrcode-terminal": "^0.12.0",
|
|
86
85
|
"sharp": "^0.32.2"
|