@pontalabs/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.
- package/README.md +11 -11
- package/lib/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -8,14 +8,14 @@
|
|
|
8
8
|
<!-- Welcome Text -->
|
|
9
9
|
<h2>
|
|
10
10
|
<img src="https://raw.githubusercontent.com/Tarikul-Islam-Anik/Animated-Fluent-Emojis/master/Emojis/Hand%20gestures/Waving%20Hand.png" alt="Waving Hand" width="35" style="vertical-align: middle; margin-right: 8px;" />
|
|
11
|
-
Selamat Datang di Baileys
|
|
11
|
+
Selamat Datang di Baileys PontaLabs
|
|
12
12
|
</h2>
|
|
13
13
|
|
|
14
14
|
<br>
|
|
15
15
|
|
|
16
16
|
<!-- Badges -->
|
|
17
|
-
<a href="https://www.npmjs.com/package/@
|
|
18
|
-
<img src="https://img.shields.io/npm/v/@
|
|
17
|
+
<a href="https://www.npmjs.com/package/@pontalabs/baileys">
|
|
18
|
+
<img src="https://img.shields.io/npm/v/@pontalabs/baileys?style=flat-square&color=cb3837&label=npm&logo=npm" alt="NPM Version" />
|
|
19
19
|
</a>
|
|
20
20
|
<a href="https://nodejs.org">
|
|
21
21
|
<img src="https://img.shields.io/badge/node-%3E%3D18.x-339933?style=flat-square&logo=node.js&logoColor=white" alt="Node.js" />
|
|
@@ -108,10 +108,10 @@ This fork builds on top of the original Baileys library with **targeted, product
|
|
|
108
108
|
|
|
109
109
|
```bash
|
|
110
110
|
# npm
|
|
111
|
-
npm install @
|
|
111
|
+
npm install @pontalabs/baileys
|
|
112
112
|
|
|
113
113
|
# yarn
|
|
114
|
-
yarn add @
|
|
114
|
+
yarn add @pontalabs/baileys
|
|
115
115
|
```
|
|
116
116
|
|
|
117
117
|
---
|
|
@@ -119,7 +119,7 @@ yarn add @pontasockets/baileys
|
|
|
119
119
|
## 🚀 Quick Start
|
|
120
120
|
|
|
121
121
|
```js
|
|
122
|
-
import makeWASocket, { useMultiFileAuthState } from '@
|
|
122
|
+
import makeWASocket, { useMultiFileAuthState } from '@pontalabs/baileys'
|
|
123
123
|
|
|
124
124
|
async function start() {
|
|
125
125
|
const { state, saveCreds } = await useMultiFileAuthState('./sessions')
|
|
@@ -998,7 +998,7 @@ await sock.sendMessage(jid, {
|
|
|
998
998
|
await sock.sendMessage(jid, {
|
|
999
999
|
richPost: {
|
|
1000
1000
|
title: 'Caption post ini',
|
|
1001
|
-
author_display_name: '@
|
|
1001
|
+
author_display_name: '@pontalabs',
|
|
1002
1002
|
author_profile_image: 'https://example.com/avatar.jpg',
|
|
1003
1003
|
media_url: 'https://example.com/post.jpg',
|
|
1004
1004
|
timestamp: Math.floor(Date.now() / 1000)
|
|
@@ -1155,7 +1155,7 @@ await sock.sendMessage(jid, {
|
|
|
1155
1155
|
|
|
1156
1156
|
```js
|
|
1157
1157
|
await sock.sendMessage(jid, {
|
|
1158
|
-
richTip: 'Dihasilkan oleh AI ·
|
|
1158
|
+
richTip: 'Dihasilkan oleh AI · pontalabs v0.3.4'
|
|
1159
1159
|
}, { quoted: message })
|
|
1160
1160
|
```
|
|
1161
1161
|
</details>
|
|
@@ -1188,7 +1188,7 @@ await sock.sendMessage(jid, {
|
|
|
1188
1188
|
await sock.sendMessage(jid, {
|
|
1189
1189
|
richResponse: [
|
|
1190
1190
|
{ text: 'Summary di sini.' },
|
|
1191
|
-
{ footer: '© PontaCT ·
|
|
1191
|
+
{ footer: '© PontaCT · pontalabs' }
|
|
1192
1192
|
]
|
|
1193
1193
|
}, { quoted: message })
|
|
1194
1194
|
```
|
|
@@ -1364,7 +1364,7 @@ await sock.sendMessage(jid, {
|
|
|
1364
1364
|
{ table: { headers: ['Version', 'LTS', 'Release'], rows: [['22.x', 'Yes', '2024'], ['21.x', 'No', '2023']] } },
|
|
1365
1365
|
{ sources: [['https://nodejs.org/fav.ico', 'https://nodejs.org', 'Node.js']] },
|
|
1366
1366
|
{ suggestions: ['Lihat changelog', 'Download', 'Docs'] },
|
|
1367
|
-
{ footer: 'PontaCT ·
|
|
1367
|
+
{ footer: 'PontaCT · pontalabs' }
|
|
1368
1368
|
]
|
|
1369
1369
|
}, { quoted: message })
|
|
1370
1370
|
```
|
|
@@ -1680,7 +1680,7 @@ This project is licensed for **personal and non-commercial use only**.
|
|
|
1680
1680
|
|
|
1681
1681
|
<div align="center">
|
|
1682
1682
|
|
|
1683
|
-
[📦 NPM](https://www.npmjs.com/package/@
|
|
1683
|
+
[📦 NPM](https://www.npmjs.com/package/@pontalabs/baileys) · [📖 Baileys Wiki](https://github.com/WhiskeySockets/Baileys/wiki) · [⭐ Star this repo](#)
|
|
1684
1684
|
|
|
1685
1685
|
<br>
|
|
1686
1686
|
|
package/lib/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
console.log([
|
|
3
3
|
'',
|
|
4
|
-
' \x1b[36m»\x1b[0m \x1b[1m\x1b[97m@
|
|
4
|
+
' \x1b[36m»\x1b[0m \x1b[1m\x1b[97m@pontalabs/baileys\x1b[0m \x1b[36m«\x1b[0m',
|
|
5
5
|
' \x1b[35m🔥\x1b[0m \x1b[33mTerimakasih sudah memakai baileys ini >.<\x1b[0m',
|
|
6
6
|
'',
|
|
7
7
|
].join('\n'))
|