Skip to content

Commit c9ff0de

Browse files
committed
feat: add whatsApp group links to the README and banner
1 parent 3244b63 commit c9ff0de

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

README.MD

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
<div align="center">
1818
<a href="https://github.com/zeative/zaileys"><img src="https://img.shields.io/github/license/zeative/zaileys" alt="GitHub License"></a>
1919
<a href="https://discord.gg/KBHhTTVUc5"><img alt="Discord" src="https://img.shields.io/discord/1105833273415962654?logo=discord&label=discord&link=https%3A%2F%2Fgithub.com%2Fzeative%2Fzaileys"></a>
20+
<a href="https://chat.whatsapp.com/GlQfvc83mSH3F6ov06vuCt"><img alt="WhatsApp" src="https://img.shields.io/badge/WhatsApp-Group-25D366?logo=whatsapp&logoColor=white"></a>
2021
<a href="https://github.com/zeative/zaileys"><img src="https://img.shields.io/github/stars/zeative/zaileys" alt="GitHub Stars"></a>
2122
<a href="https://github.com/zeative/zaileys"><img src="https://img.shields.io/github/forks/zeative/zaileys" alt="GitHub Forks"></a>
2223
<a href="https://github.com/zeative/zaileys"><img src="https://img.shields.io/github/watchers/zeative/zaileys" alt="GitHub Watchers"></a>
@@ -776,7 +777,7 @@ await wa.button(ctx.roomId, {
776777

777778
**Carousel Buttons:**
778779

779-
> Carousel button is **fully supported on all devices**Android, iOS, and **WhatsApp Desktop/Web**. Each card can include an image or video header with native flow buttons.
780+
> ⚠️ Carousel button is supported on **Android** and **WhatsApp Desktop/Web** only. iOS is currently not supported. Each card can include an image or video header with native flow buttons.
780781
781782
```typescript
782783
await wa.button(ctx.roomId, {

src/Utils/banner.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,17 @@ export const autoDisplayBanner = async () => {
2727
const logoLabel = 'Zaileys';
2828
const copyright = `\nby ${author} · v${version}`;
2929
const discordUrl = `— discord.gg/KBHhTTVUc5`
30+
const waGroupUrl = `— chat.whatsapp.com/GlQfvc83mSH3F6ov06vuCt`
3031

31-
const updateLabel = `${isLatest ? ' Already using latest version!' : ` Update available! (v${latestVersion})`} \n`;
32-
const updateColor = isLatest ? 'lime' : 'orange';
32+
const updateLabel = `${isLatest ? ' Already using latest version!' : ` Update available! (v${latestVersion})`} \n`;
33+
const updateColor = isLatest ? 'blue' : 'orange';
3334

3435
const logo = await figlet.text(logoLabel);
3536
const fancy = cristal(logo);
3637

3738
console.log(fancy);
3839
console.log(logColor(copyright, 'dimgray'));
3940
console.log(logColor(discordUrl, 'purple'));
41+
console.log(logColor(waGroupUrl, 'green'));
4042
console.log(logColor(updateLabel, updateColor));
4143
};

0 commit comments

Comments
 (0)