@ryuu-reinzz/haruka-lib 1.0.11 → 1.0.12
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/README.md +8 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -6,7 +6,8 @@
|
|
|
6
6
|
<b>Powerful & Lightweight WhatsApp Bot Library Extension</b>
|
|
7
7
|
</p>
|
|
8
8
|
## 1. Send Order
|
|
9
|
-
Digunakan untuk membuat tampilan pesanan profesional atau sekedar prank orderan.
|
|
9
|
+
# Digunakan untuk membuat tampilan pesanan profesional atau sekedar prank orderan.
|
|
10
|
+
|
|
10
11
|
``` javascript
|
|
11
12
|
conn.sendOrder(m.chat, {
|
|
12
13
|
orderId: "ORDER-" + Date.now(),
|
|
@@ -25,7 +26,8 @@ Hasil Output:
|
|
|
25
26
|
<img src="https://api.ryuu-dev.offc.my.id/src/assest/Haruhime/sendOrder.jpg" width="300" />
|
|
26
27
|
|
|
27
28
|
## 2. Send Album
|
|
28
|
-
Cocok untuk mengirim katalog produk atau galeri foto tanpa memenuhi chat.
|
|
29
|
+
# Cocok untuk mengirim katalog produk atau galeri foto tanpa memenuhi chat.
|
|
30
|
+
|
|
29
31
|
``` javascript
|
|
30
32
|
conn.sendAlbum(m.chat, [
|
|
31
33
|
{ image: { url: global.thumbnail }, caption: "Gambar 1" },
|
|
@@ -37,7 +39,8 @@ Hasil Output:
|
|
|
37
39
|
<img src="https://api.ryuu-dev.offc.my.id/src/assest/Haruhime/sendAlbum.jpg" width="300" />
|
|
38
40
|
|
|
39
41
|
## 3. Send Card (Carousel)
|
|
40
|
-
Fitur tercanggih untuk membuat menu bot yang bisa digeser (slide) ke samping.
|
|
42
|
+
# Fitur tercanggih untuk membuat menu bot yang bisa digeser (slide) ke samping.
|
|
43
|
+
|
|
41
44
|
``` javascript
|
|
42
45
|
conn.sendCard(m.chat, {
|
|
43
46
|
text: "Bot Thumbnail",
|
|
@@ -57,7 +60,8 @@ conn.sendCard(m.chat, {
|
|
|
57
60
|
<img src="https://api.ryuu-dev.offc.my.id/src/assest/Haruhime/sendCard.jpg" width="300" />
|
|
58
61
|
|
|
59
62
|
## 4. Custom Sticker
|
|
60
|
-
Buat stiker langsung dengan identitas bot kamu sendiri.
|
|
63
|
+
# Buat stiker langsung dengan identitas bot kamu sendiri.
|
|
64
|
+
|
|
61
65
|
``` javascript
|
|
62
66
|
conn.sendSticker(m.chat, {
|
|
63
67
|
sticker: "./stiker/apa-woi.webp",
|