Skip to content

Commit

Permalink
[ Jessi-md 4.8.4 ⏱️ ]
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaweeshachamodx authored Jan 28, 2024
1 parent 31090a9 commit dbeb6cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/join.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ let linkRegex = /chat.whatsapp.com\/([0-9A-Za-z]{20,24})/i

let handler = async (m, { conn, text, usedPrefix }) => {
let [_, code] = text.match(linkRegex) || []
if (!code) throw 'Link Salah'
if (!code) throw '*🚫 Enter Whatsapp Group Link*'
let res = await conn.acceptInvite(code)
m.reply(`Berhasil join grup ${res.gid}`).then(() => {
var jumlahHari = 86400000 * 0.5
Expand All @@ -21,4 +21,4 @@ handler.command = /^join$/i

handler.premium = false

module.exports = handler
module.exports = handler

0 comments on commit dbeb6cc

Please sign in to comment.