Skip to content

Commit

Permalink
Update owner-chatgp.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Daxmax123 authored Dec 9, 2023
1 parent 01a1093 commit 330e942
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/owner-chatgp.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const handler = async (m, {conn, text, groupMetadata}) => {
const who = m.mentionedJid && m.mentionedJid[0] ? m.mentionedJid[0] : m.fromMe ? conn.user.jid : m.sender;
const name = await conn.getName(m.sender);
const groups = Object.entries(conn.chats).filter(([jid, chat]) => jid.endsWith('@g.us') && chat.isChats && !chat.metadata?.read_only && !chat.metadata?.announce).map((v) => v[0]);
const fakegif = {key: {participant: `0@s.whatsapp.net`, ...('6289643739077-1613049930@g.us' ? {remoteJid: '6289643739077-1613049930@g.us'} : {})}, message: {'videoMessage': {'title': '๐Ÿฑโธฝโƒ•Nสแด€ษดCแด€แด›Bแดแด› - MD๐Ÿโƒจแโƒ•โœฐ', 'h': `Hmm`, 'seconds': '99999', 'gifPlayback': 'true', 'caption': '๐Ÿงฟ ๐šƒ๐š‘๐šŽ ๐™ผ๐šข๐šœ๐š๐š’๐šŒ - ๐™ฑ๐š˜๐š ๐Ÿ”ฎ', 'jpegThumbnail': false}}};
const fakegif = {key: {participant: `0@s.whatsapp.net`, ...('6289643739077-1613049930@g.us' ? {remoteJid: '6289643739077-1613049930@g.us'} : {})}, message: {'videoMessage': {'title': '๐’๐‡๐ˆ๐๐Ž๐๐Ž๐Œ๐„-๐๐Ž๐“', 'h': `Hmm`, 'seconds': '99999', 'gifPlayback': 'true', 'caption': '๐’๐‡๐ˆ๐๐Ž๐๐Ž๐Œ๐„-๐๐Ž๐“', 'jpegThumbnail': false}}};
const teks = `*๐ŸŒบ โ€ข ๐™ถ๐š›๐šž๐š™๐š˜:* ${groupMetadata.subject}\n*๐Ÿ€ โ€ข ๐™ณ๐šŽ:* ${name}\n*๐Ÿ โ€ข ๐™ฝ๐šžฬ๐š–๐šŽ๐š›๐š˜:* wa.me/${who.split`@`[0]}\n*๐Ÿ“ง โ€ข ๐™ผ๐šŽ๐š—๐šœ๐šŠ๐š“๐šŽ:* ${text}`;
for (const id of groups) {
await conn.sendMessage(id, {text: teks}, {quoted: fakegif});
Expand Down

0 comments on commit 330e942

Please sign in to comment.