@lordmega/baileys 0.3.17 → 0.3.19

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/README.md +127 -60
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -1,18 +1,18 @@
1
- # 🌱 @itsliaaa/baileys
1
+ # 🗿 @lordmega/baileys
2
2
 
3
- [![Logo](https://files.catbox.moe/c5s9g0.jpg)](https://www.npmjs.com/package/@itsliaaa/baileys)
3
+ [![Logo](https://files.catbox.moe/c5s9g0.jpg)](https://www.npmjs.com/package/@lordmega/baileys)
4
4
 
5
5
  <p align="center">
6
6
  Enhanced Baileys v7 with fixes for newsletter media uploads, plus support for interactive messages, albums, and additional message types.
7
7
  <br><br>
8
- <a href="https://www.npmjs.com/package/@itsliaaa/baileys">
9
- <img src="https://img.shields.io/npm/v/@itsliaaa/baileys?style=for-the-badge&logo=npm"/>
8
+ <a href="https://www.npmjs.com/package/@lordmega/baileys">
9
+ <img src="https://img.shields.io/npm/v/@lordmega/baileys?style=for-the-badge&logo=npm"/>
10
10
  </a>
11
- <a href="https://www.npmjs.com/package/@itsliaaa/baileys">
12
- <img src="https://img.shields.io/npm/dm/@itsliaaa/baileys?style=for-the-badge&logo=npm"/>
11
+ <a href="https://www.npmjs.com/package/@lordmega/baileys">
12
+ <img src="https://img.shields.io/npm/dm/@lordmega/baileys?style=for-the-badge&logo=npm"/>
13
13
  </a>
14
- <a href="https://github.com/itsliaaa/baileys">
15
- <img src="https://img.shields.io/github/stars/itsliaaa/baileys?style=for-the-badge&logo=github"/>
14
+ <a href="https://github.com/lordmega/baileys">
15
+ <img src="https://img.shields.io/github/stars/lordmega/baileys?style=for-the-badge&logo=github"/>
16
16
  </a>
17
17
  <a href="LICENSE">
18
18
  <img src="https://img.shields.io/badge/license-MIT-blue?style=for-the-badge"/>
@@ -25,7 +25,7 @@
25
25
  </a>
26
26
  </p>
27
27
 
28
- ☕ For donation: [Saweria](https://saweria.co/itsliaaa)
28
+ ☕ For donation: [Saweria](https://saweria.co/lordmega)
29
29
 
30
30
  ### 📋 Table of Contents
31
31
  - [📋 Table of Contents](#-table-of-contents)
@@ -191,12 +191,12 @@ This fork designed for production use with a focus on clarity and safety:
191
191
  ```json
192
192
  # NPM
193
193
  "dependencies": {
194
- "@itsliaaa/baileys": "latest"
194
+ "@lordmega/baileys": "latest"
195
195
  }
196
196
 
197
197
  # GitHub
198
198
  "dependencies": {
199
- "@itsliaaa/baileys": "github:itsliaaa/baileys"
199
+ "@lordmega/baileys": "github:lordmega/baileys"
200
200
  }
201
201
  ```
202
202
 
@@ -204,26 +204,26 @@ This fork designed for production use with a focus on clarity and safety:
204
204
 
205
205
  ```bash
206
206
  # NPM
207
- npm i @itsliaaa/baileys@latest
207
+ npm i @lordmega/baileys@latest
208
208
 
209
209
  # GitHub
210
- npm i github:itsliaaa/baileys
210
+ npm i github:lordmega/baileys
211
211
  ```
212
212
 
213
213
  #### 🧩 Import (ESM & CJS)
214
214
 
215
215
  ```javascript
216
216
  // --- ESM
217
- import { makeWASocket } from '@itsliaaa/baileys'
217
+ import { makeWASocket } from '@lordmega/baileys'
218
218
 
219
219
  // --- CJS (tested and working on Node.js 24 ✅)
220
- const { makeWASocket } = require('@itsliaaa/baileys')
220
+ const { makeWASocket } = require('@lordmega/baileys')
221
221
  ```
222
222
 
223
223
  ### 🌐 Connect to WhatsApp (Quick Step)
224
224
 
225
225
  ```javascript
226
- import { makeWASocket, delay, DisconnectReason, useMultiFileAuthState } from '@itsliaaa/baileys'
226
+ import { makeWASocket, delay, DisconnectReason, useMultiFileAuthState } from '@lordmega/baileys'
227
227
  import { Boom } from '@hapi/boom'
228
228
  import pino from 'pino'
229
229
 
@@ -287,7 +287,7 @@ connectToWhatsApp()
287
287
  > I highly recommend building your own data store, as keeping an entire chat history in memory can lead to excessive RAM usage.
288
288
 
289
289
  ```javascript
290
- import { makeWASocket, makeInMemoryStore, delay, DisconnectReason, useMultiFileAuthState } from '@itsliaaa/baileys'
290
+ import { makeWASocket, makeInMemoryStore, delay, DisconnectReason, useMultiFileAuthState } from '@lordmega/baileys'
291
291
  import { Boom } from '@hapi/boom'
292
292
  import pino from 'pino'
293
293
 
@@ -380,13 +380,13 @@ sock.sendMessage(jid, {
380
380
  })
381
381
 
382
382
  // --- Send a text message with a link preview
383
- const urlA = 'https://www.npmjs.com/package/@itsliaaa/baileys'
383
+ const urlA = 'https://www.npmjs.com/package/@lordmega/baileys'
384
384
 
385
385
  sock.sendMessage(jid, {
386
386
  text: urlA + ' 👆🏻 Check it out!',
387
387
  linkPreview: {
388
388
  'matched-text': urlA,
389
- title: '🌱 @itsliaaa/baileys',
389
+ title: '🌱 @lordmega/baileys',
390
390
  description: 'Underrated Baileys Fork',
391
391
  previewType: 0, // --- Use 1 for video playback in the link preview
392
392
  jpegThumbnail: fs.readFileSync('./path/to/image.jpg')
@@ -394,9 +394,9 @@ sock.sendMessage(jid, {
394
394
  })
395
395
 
396
396
  // --- Send a text message with a large link preview and favicon
397
- import { prepareWAMessageMedia } from '@itsliaaa/baileys'
397
+ import { prepareWAMessageMedia } from '@lordmega/baileys'
398
398
 
399
- const urlB = 'https://www.npmjs.com/package/@itsliaaa/baileys#readme'
399
+ const urlB = 'https://www.npmjs.com/package/@lordmega/baileys#readme'
400
400
 
401
401
  const { imageMessage: image } = await prepareWAMessageMedia({
402
402
  image: {
@@ -415,7 +415,7 @@ sock.sendMessage(jid, {
415
415
  text: urlB + ' 👆🏻 Check it out!',
416
416
  linkPreview: {
417
417
  'matched-text': urlB,
418
- title: '🌱 @itsliaaa/baileys',
418
+ title: '🌱 @lordmega/baileys',
419
419
  description: 'Underrated Baileys Fork',
420
420
  previewType: 0,
421
421
  jpegThumbnail: fs.readFileSync('./path/to/image.jpg'),
@@ -561,7 +561,7 @@ const inviteCode = groupUrl
561
561
  ?.split('?')[0]
562
562
 
563
563
  const groupJid = '1201111111111@g.us'
564
- const groupName = '@itsliaaa/baileys'
564
+ const groupName = '@lordmega/baileys'
565
565
 
566
566
  sock.sendMessage(jid, {
567
567
  groupInvite: {
@@ -586,7 +586,7 @@ sock.sendMessage(jid, {
586
586
  url: './path/to/image.jpg'
587
587
  },
588
588
  body: '👋🏻 Check my product here!',
589
- footer: '@itsliaaa/baileys',
589
+ footer: '@lordmega/baileys',
590
590
  product: {
591
591
  currencyCode: 'IDR',
592
592
  description: '🛍️ Interesting product!',
@@ -594,9 +594,9 @@ sock.sendMessage(jid, {
594
594
  productId: randomUUID(),
595
595
  productImageCount: 1,
596
596
  salePriceAmount1000: 65_000_000,
597
- signedUrl: 'https://www.npmjs.com/package/@itsliaaa/baileys',
597
+ signedUrl: 'https://www.npmjs.com/package/@lordmega/baileys',
598
598
  title: '📦 Starseed (Premium)',
599
- url: 'https://www.npmjs.com/package/@itsliaaa/baileys'
599
+ url: 'https://www.npmjs.com/package/@lordmega/baileys'
600
600
  },
601
601
  businessOwnerJid: '0@s.whatsapp.net'
602
602
  })
@@ -763,7 +763,7 @@ sock.sendMessage(jid, {
763
763
  > You can easily add syntax highlighting by importing `tokenizeCode` directly from Baileys.
764
764
 
765
765
  ```javascript
766
- import { tokenizeCode } from '@itsliaaa/baileys'
766
+ import { tokenizeCode } from '@lordmega/baileys'
767
767
 
768
768
  const language = 'javascript'
769
769
  const code = 'console.log("Hello, World!")'
@@ -817,7 +817,7 @@ sock.sendMessage(jid, {
817
817
  }, {
818
818
  text: '3. Modded Baileys',
819
819
  title: 'Underrated Baileys Fork',
820
- url: 'https://www.npmjs.com/package/@itsliaaa/baileys'
820
+ url: 'https://www.npmjs.com/package/@lordmega/baileys'
821
821
  }],
822
822
  footerText: '---'
823
823
  })
@@ -976,7 +976,7 @@ sock.sendMessage(jid, {
976
976
  }],
977
977
  name: '📦 My Sticker Pack',
978
978
  publisher: '🌟 Lia Wynn',
979
- description: '@itsliaaa/baileys'
979
+ description: '@lordmega/baileys'
980
980
  }, {
981
981
  quoted: message
982
982
  })
@@ -990,7 +990,7 @@ sock.sendMessage(jid, {
990
990
  // --- Regular buttons message
991
991
  sock.sendMessage(jid, {
992
992
  text: '👆🏻 Buttons!',
993
- footer: '@itsliaaa/baileys',
993
+ footer: '@lordmega/baileys',
994
994
  buttons: [{
995
995
  text: '👋🏻 SignUp',
996
996
  id: '#SignUp'
@@ -1005,7 +1005,7 @@ sock.sendMessage(jid, {
1005
1005
  url: './path/to/image.jpg'
1006
1006
  },
1007
1007
  caption: '👆🏻 Buttons and Native Flow!',
1008
- footer: '@itsliaaa/baileys',
1008
+ footer: '@lordmega/baileys',
1009
1009
  buttons: [{
1010
1010
  text: '👋🏻 Rating',
1011
1011
  id: '#Rating'
@@ -1043,7 +1043,7 @@ sock.sendMessage(jid, {
1043
1043
  ```javascript
1044
1044
  sock.sendMessage(jid, {
1045
1045
  text: '📋 List!',
1046
- footer: '@itsliaaa/baileys',
1046
+ footer: '@lordmega/baileys',
1047
1047
  buttonText: '📋 Select',
1048
1048
  title: '👋🏻 Hello',
1049
1049
  sections: [{
@@ -1075,12 +1075,12 @@ sock.sendMessage(jid, {
1075
1075
  url: './path/to/image.jpg'
1076
1076
  },
1077
1077
  caption: '🗄️️ Interactive!',
1078
- footer: '@itsliaaa/baileys',
1078
+ footer: '@lordmega/baileys',
1079
1079
  optionText: '👉🏻 Select Options', // --- Optional, wrap all native flow into a single list
1080
1080
  optionTitle: '📄 Select Options', // --- Optional
1081
1081
  offerText: '🏷️ Newest Coupon!', // --- Optional, add an offer into message
1082
- offerCode: '@itsliaaa/baileys', // --- Optional
1083
- offerUrl: 'https://www.npmjs.com/package/@itsliaaa/baileys', // --- Optional
1082
+ offerCode: '@lordmega/baileys', // --- Optional
1083
+ offerUrl: 'https://www.npmjs.com/package/@lordmega/baileys', // --- Optional
1084
1084
  offerExpiration: Date.now() + 3_600_000, // --- Optional
1085
1085
  nativeFlow: [{
1086
1086
  text: '👋🏻 Greeting',
@@ -1091,10 +1091,10 @@ sock.sendMessage(jid, {
1091
1091
  call: '628123456789'
1092
1092
  }, {
1093
1093
  text: '📋 Copy',
1094
- copy: '@itsliaaa/baileys'
1094
+ copy: '@lordmega/baileys'
1095
1095
  }, {
1096
1096
  text: '🌐 Source',
1097
- url: 'https://www.npmjs.com/package/@itsliaaa/baileys',
1097
+ url: 'https://www.npmjs.com/package/@lordmega/baileys',
1098
1098
  useWebview: true // --- Optional
1099
1099
  }, {
1100
1100
  text: '📋 Select',
@@ -1126,7 +1126,7 @@ sock.sendMessage(jid, {
1126
1126
  // --- Carousel & Native Flow
1127
1127
  sock.sendMessage(jid, {
1128
1128
  text: '🗂️ Interactive with Carousel!',
1129
- footer: '@itsliaaa/baileys',
1129
+ footer: '@lordmega/baileys',
1130
1130
  cards: [{
1131
1131
  image: {
1132
1132
  url: './path/to/image.jpg'
@@ -1135,7 +1135,7 @@ sock.sendMessage(jid, {
1135
1135
  footer: '🏷️️ Pinterest',
1136
1136
  nativeFlow: [{
1137
1137
  text: '🌐 Source',
1138
- url: 'https://www.npmjs.com/package/@itsliaaa/baileys',
1138
+ url: 'https://www.npmjs.com/package/@lordmega/baileys',
1139
1139
  useWebview: true
1140
1140
  }]
1141
1141
  }, {
@@ -1145,12 +1145,12 @@ sock.sendMessage(jid, {
1145
1145
  caption: '🖼️ Image 2',
1146
1146
  footer: '🏷️ Pinterest',
1147
1147
  offerText: '🏷️ New Coupon!',
1148
- offerCode: '@itsliaaa/baileys',
1149
- offerUrl: 'https://www.npmjs.com/package/@itsliaaa/baileys',
1148
+ offerCode: '@lordmega/baileys',
1149
+ offerUrl: 'https://www.npmjs.com/package/@lordmega/baileys',
1150
1150
  offerExpiration: Date.now() + 3_600_000,
1151
1151
  nativeFlow: [{
1152
1152
  text: '🌐 Source',
1153
- url: 'https://www.npmjs.com/package/@itsliaaa/baileys'
1153
+ url: 'https://www.npmjs.com/package/@lordmega/baileys'
1154
1154
  }]
1155
1155
  }, {
1156
1156
  image: {
@@ -1161,8 +1161,8 @@ sock.sendMessage(jid, {
1161
1161
  optionText: '👉🏻 Select Options',
1162
1162
  optionTitle: '👉🏻 Select Options',
1163
1163
  offerText: '🏷️ New Coupon!',
1164
- offerCode: '@itsliaaa/baileys',
1165
- offerUrl: 'https://www.npmjs.com/package/@itsliaaa/baileys',
1164
+ offerCode: '@lordmega/baileys',
1165
+ offerUrl: 'https://www.npmjs.com/package/@lordmega/baileys',
1166
1166
  offerExpiration: Date.now() + 3_600_000,
1167
1167
  nativeFlow: [{
1168
1168
  text: '🛒 Product',
@@ -1170,7 +1170,7 @@ sock.sendMessage(jid, {
1170
1170
  icon: 'default'
1171
1171
  }, {
1172
1172
  text: '🌐 Source',
1173
- url: 'https://www.npmjs.com/package/@itsliaaa/baileys'
1173
+ url: 'https://www.npmjs.com/package/@lordmega/baileys'
1174
1174
  }]
1175
1175
  }]
1176
1176
  }, {
@@ -1206,13 +1206,13 @@ sock.sendMessage(jid, {
1206
1206
  url: './path/to/image.jpg'
1207
1207
  },
1208
1208
  caption: '🫙 Template!',
1209
- footer: '@itsliaaa/baileys',
1209
+ footer: '@lordmega/baileys',
1210
1210
  templateButtons: [{
1211
1211
  text: '👉?? Tap Here',
1212
1212
  id: '#Order'
1213
1213
  }, {
1214
1214
  text: '🌐 Source',
1215
- url: 'https://www.npmjs.com/package/@itsliaaa/baileys'
1215
+ url: 'https://www.npmjs.com/package/@lordmega/baileys'
1216
1216
  }, {
1217
1217
  text: '📞 Call',
1218
1218
  call: '628123456789'
@@ -1313,7 +1313,7 @@ sock.sendMessage(jid, {
1313
1313
  body: '❓ I dont know',
1314
1314
  thumbnail: fs.readFileSync('./path/to/image.jpg'), // --- Must in buffer format
1315
1315
  largeThumbnail: false, // --- Or true for bigger thumbnail
1316
- url: 'https://www.npmjs.com/package/@itsliaaa/baileys' // --- Optional, used for WhatsApp internal thumbnail caching and direct URL
1316
+ url: 'https://www.npmjs.com/package/@lordmega/baileys' // --- Optional, used for WhatsApp internal thumbnail caching and direct URL
1317
1317
  }
1318
1318
  }, {
1319
1319
  quoted: message
@@ -1357,7 +1357,7 @@ sock.sendMessage(jid, {
1357
1357
  text: '📃 Built manually from scratch using the raw WhatsApp proto structure',
1358
1358
  contextInfo: {
1359
1359
  externalAdReply: {
1360
- title: '@itsliaaa/baileys',
1360
+ title: '@lordmega/baileys',
1361
1361
  thumbnail: fs.readFileSync('./path/to/image.jpg'),
1362
1362
  sourceApp: 'whatsapp',
1363
1363
  showAdAttribution: true,
@@ -1521,7 +1521,7 @@ console.log('🔗 Pairing code', ':', customPairingCode)
1521
1521
  > Automatically use available image processing library: `sharp`, `@napi-rs/image`, or `jimp`
1522
1522
 
1523
1523
  ```javascript
1524
- import { getImageProcessingLibrary } from '@itsliaaa/baileys'
1524
+ import { getImageProcessingLibrary } from '@lordmega/baileys'
1525
1525
  import { readFile } from 'fs/promises'
1526
1526
 
1527
1527
  const lib = await getImageProcessingLibrary()
@@ -1575,7 +1575,7 @@ console.dir(output, { depth: null })
1575
1575
 
1576
1576
  ```javascript
1577
1577
  // --- Create a new one
1578
- sock.newsletterCreate('@itsliaaa/baileys', '📣 Fresh updates weekly')
1578
+ sock.newsletterCreate('@lordmega/baileys', '📣 Fresh updates weekly')
1579
1579
 
1580
1580
  // --- Get info
1581
1581
  const metadata = sock.newsletterMetadata('1231111111111@newsletter')
@@ -1600,10 +1600,10 @@ sock.newsletterDemote('1231111111111@newsletter', '6281111111111@s.whatsapp.net'
1600
1600
  sock.newsletterChangeOwner('1231111111111@newsletter', '6281111111111@s.whatsapp.net')
1601
1601
 
1602
1602
  // --- Update newsletter
1603
- sock.newsletterUpdate('1231111111111@newsletter', { name: '@itsliaaa/baileys' })
1603
+ sock.newsletterUpdate('1231111111111@newsletter', { name: '@lordmega/baileys' })
1604
1604
 
1605
1605
  // --- Change name
1606
- sock.newsletterUpdateName('1231111111111@newsletter', '📦 @itsliaaa/baileys')
1606
+ sock.newsletterUpdateName('1231111111111@newsletter', '📦 @lordmega/baileys')
1607
1607
 
1608
1608
  // --- Change description
1609
1609
  sock.newsletterUpdateDescription('1231111111111@newsletter', '📣 Fresh updates weekly')
@@ -1638,7 +1638,7 @@ sock.newsletterDelete('1231111111111@newsletter')
1638
1638
 
1639
1639
  ```javascript
1640
1640
  // --- Create a new one and add participants using their JIDs
1641
- const group = sock.groupCreate('@itsliaaa/baileys', ['628123456789@s.whatsapp.net'])
1641
+ const group = sock.groupCreate('@lordmega/baileys', ['628123456789@s.whatsapp.net'])
1642
1642
  console.dir(group, { depth: null })
1643
1643
 
1644
1644
  // --- Get info
@@ -1675,7 +1675,7 @@ sock.groupParticipantsUpdate(jid, ['628123456789@s.whatsapp.net'], 'demote')
1675
1675
  sock.groupRequestParticipantsUpdate(jid, ['628123456789@s.whatsapp.net'], 'approve')
1676
1676
 
1677
1677
  // --- Change name
1678
- sock.groupUpdateSubject(jid, '📦 @itsliaaa/baileys')
1678
+ sock.groupUpdateSubject(jid, '📦 @lordmega/baileys')
1679
1679
 
1680
1680
  // --- Change description
1681
1681
  sock.groupUpdateDescription(jid, 'Updated description')
@@ -1729,14 +1729,14 @@ const group = await sock.groupGetInviteInfo('ABC123456789')
1729
1729
  console.log('👥 Got group info from invite code', ':', group)
1730
1730
 
1731
1731
  // --- Update bot member label
1732
- sock.updateMemberLabel(jid, '@itsliaaa/baileys')
1732
+ sock.updateMemberLabel(jid, '@lordmega/baileys')
1733
1733
  ```
1734
1734
 
1735
1735
  #### 👥 Community Management
1736
1736
 
1737
1737
  ```javascript
1738
1738
  // --- Create a new one and add description
1739
- const community = await sock.communityCreate('@itsliaaa/baileys', '📣 Fresh updates weekly')
1739
+ const community = await sock.communityCreate('@lordmega/baileys', '📣 Fresh updates weekly')
1740
1740
  console.dir(community, { depth: null })
1741
1741
 
1742
1742
  // --- Create a subgroup for community and add participants using their JIDs
@@ -1769,7 +1769,7 @@ sock.communityLeave(jid)
1769
1769
  sock.communityRequestParticipantsUpdate(jid, ['628123456789@s.whatsapp.net'], 'approve')
1770
1770
 
1771
1771
  // --- Change name
1772
- sock.communityUpdateSubject(jid, '📦 @itsliaaa/baileys')
1772
+ sock.communityUpdateSubject(jid, '📦 @lordmega/baileys')
1773
1773
 
1774
1774
  // --- Change description
1775
1775
  sock.communityUpdateDescription(jid, 'Updated description')
@@ -1937,7 +1937,7 @@ console.dir(order, { depth: null })
1937
1937
  await sock.updateBusinessProfile({
1938
1938
  address: 'Jakarta, Indonesia',
1939
1939
  description: '🛒 Official Starseed Store',
1940
- websites: ['https://www.npmjs.com/package/@itsliaaa/baileys'],
1940
+ websites: ['https://www.npmjs.com/package/@lordmega/baileys'],
1941
1941
  email: 'more-more@gmail.com',
1942
1942
  hours: {
1943
1943
  timezone: 'Asia/Jakarta',
@@ -2045,6 +2045,73 @@ sock.ev.on('settings.update', (update) => {})
2045
2045
 
2046
2046
  ### 🚀 Try the Bot
2047
2047
 
2048
+ A fast, lightweight, and modular WhatsApp bot built with [@lordmega/baileys](https://www.npmjs.com/package/@lordmega/baileys).
2049
+ Perfect for managing groups, moderating chats, and adding fun with quiz games and handy tools.
2050
+
2051
+ 👉🏻 [@lordmega/starseed](https://github.com/lordmega/starseed#readme)
2052
+
2053
+ ### 📦 Fork Base
2054
+
2055
+ This fork is based on [Baileys (GitHub)](https://github.com/WhiskeySockets/Baileys)
2056
+
2057
+ ### 📣 Credits
2058
+
2059
+ This fork uses Protocol Buffer definitions maintained by [WPP Connect](https://github.com/wppconnect-team) via [`wa-proto`](https://github.com/wppconnect-team/wa-proto)
2060
+
2061
+ Full credit is attributed to the original maintainers and contributors of Baileys:
2062
+ - [purpshell](https://github.com/purpshell)
2063
+ - [jlucaso1](https://github.com/jlucaso1)
2064
+ - [adiwajshing](https://github.com/adiwajshing)
2065
+
2066
+ <!-- Please do not replace my name with yours. It's disrespectful. -->
2067
+
2068
+ This fork includes additional enhancements and modifications by [Lia Wynn](https://github.com/lordmega)
2069
+
2070
+ Special thanks to [itsreimau](https://github.com/itsreimau) for the fix to the `updateBlockStatus` implementation.
2071
+
2072
+ > [!CAUTION]
2073
+ > ⚠️ **Modification, removal, or misrepresentation of these credits is strictly prohibited. Any redistribution or fork must preserve this section in its original form without exception.**```
2074
+
2075
+ #### 📡 Events
2076
+
2077
+ ```javascript
2078
+ sock.ev.on('connection.update', (update) => {})
2079
+ sock.ev.on('creds.update', (update) => {})
2080
+ sock.ev.on('messaging-history.set', (update) => {})
2081
+ sock.ev.on('messaging-history.status', (update) => {})
2082
+ sock.ev.on('chats.upsert', (update) => {})
2083
+ sock.ev.on('chats.update', (update) => {})
2084
+ sock.ev.on('chats.delete', (update) => {})
2085
+ sock.ev.on('chats.lock', (update) => {})
2086
+ sock.ev.on('lid-mapping.update', (update) => {})
2087
+ sock.ev.on('presence.update', (update) => {})
2088
+ sock.ev.on('contacts.upsert', (update) => {})
2089
+ sock.ev.on('contacts.update', (update) => {})
2090
+ sock.ev.on('messages.delete', (update) => {})
2091
+ sock.ev.on('messages.update', (update) => {})
2092
+ sock.ev.on('messages.media-update', (update) => {})
2093
+ sock.ev.on('messages.upsert', (update) => {})
2094
+ sock.ev.on('messages.reaction', (update) => {})
2095
+ sock.ev.on('message-receipt.update', (update) => {})
2096
+ sock.ev.on('groups.upsert', (update) => {})
2097
+ sock.ev.on('groups.update', (update) => {})
2098
+ sock.ev.on('group-participants.update', (update) => {})
2099
+ sock.ev.on('group.join-request', (update) => {})
2100
+ sock.ev.on('group.member-tag.update', (update) => {})
2101
+ sock.ev.on('blocklist.set', (update) => {})
2102
+ sock.ev.on('blocklist.update', (update) => {})
2103
+ sock.ev.on('call', (update) => {})
2104
+ sock.ev.on('labels.edit', (update) => {})
2105
+ sock.ev.on('labels.association', (update) => {})
2106
+ sock.ev.on('newsletter.reaction', (update) => {})
2107
+ sock.ev.on('newsletter.view', (update) => {})
2108
+ sock.ev.on('newsletter-participants.update', (update) => {})
2109
+ sock.ev.on('newsletter-settings.update', (update) => {})
2110
+ sock.ev.on('settings.update', (update) => {})
2111
+ ```
2112
+
2113
+ ### 🚀 Try the Bot
2114
+
2048
2115
  A fast, lightweight, and modular WhatsApp bot built with [@itsliaaa/baileys](https://www.npmjs.com/package/@itsliaaa/baileys).
2049
2116
  Perfect for managing groups, moderating chats, and adding fun with quiz games and handy tools.
2050
2117
 
@@ -2070,4 +2137,4 @@ This fork includes additional enhancements and modifications by [Lia Wynn](https
2070
2137
  Special thanks to [itsreimau](https://github.com/itsreimau) for the fix to the `updateBlockStatus` implementation.
2071
2138
 
2072
2139
  > [!CAUTION]
2073
- > ⚠️ **Modification, removal, or misrepresentation of these credits is strictly prohibited. Any redistribution or fork must preserve this section in its original form without exception.**
2140
+ > ⚠️ **Modification, removal, or misrepresentation of these credits is strictly prohibited. Any redistribution or fork must preserve this section in its original form without exception.**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lordmega/baileys",
3
- "version": "0.3.17",
3
+ "version": "0.3.19",
4
4
  "description": "Enhanced Baileys v7 with fixes for newsletter media uploads, plus support for interactive messages, albums, and additional message types.",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -13,7 +13,7 @@
13
13
  },
14
14
  "repository": {
15
15
  "type": "git",
16
- "url": "git+https://github.com/itsliaaa/baileys.git"
16
+ "url": "git+https://github.com/LORDMEGA-MD/baileys.git"
17
17
  },
18
18
  "files": [
19
19
  "lib/**/*",
@@ -32,8 +32,8 @@
32
32
  "whatsapp-bot",
33
33
  "whatsapp-web"
34
34
  ],
35
- "homepage": "https://github.com/itsliaaa/baileys#readme",
36
- "author": "Lia Wynn",
35
+ "homepage": "https://github.com/LORDMEGA-MD/baileys#readme",
36
+ "author": "lordmega",
37
37
  "license": "MIT",
38
38
  "dependencies": {
39
39
  "@adiwajshing/keyed-db": "^0.2.4",