API-XX commited on
Commit
1a49ed0
Β·
verified Β·
1 Parent(s): 5c504f3

Upload case.js

Browse files
Files changed (1) hide show
  1. case.js +23 -3
case.js CHANGED
@@ -965,7 +965,8 @@ module.exports = async (conn, dev, chatUpdate, store) => {
965
  > ─────────────❐
966
 
967
  > β”€γ€Ž \`π†π‘πŽπ”π πŒπ„ππ”\` 』
968
-
 
969
  > ─────────────❐
970
 
971
  > β”€γ€Ž \`πŒπ„πƒπˆπ€ πƒπŽπ–ππ‹πŽπ€πƒπ’\` 』
@@ -1408,8 +1409,27 @@ case 'owner':
1408
  await reply(`Hello πŸ‘‹, if you wish to contact the owner, please use the provided contact details.`);
1409
  }
1410
  break;
1411
-
1412
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1413
 
1414
 
1415
 
 
965
  > ─────────────❐
966
 
967
  > β”€γ€Ž \`π†π‘πŽπ”π πŒπ„ππ”\` 』
968
+ > ${sign} tag
969
+ > ${sign} tagall
970
  > ─────────────❐
971
 
972
  > β”€γ€Ž \`πŒπ„πƒπˆπ€ πƒπŽπ–ππ‹πŽπ€πƒπ’\` 』
 
1409
  await reply(`Hello πŸ‘‹, if you wish to contact the owner, please use the provided contact details.`);
1410
  }
1411
  break;
1412
+ case 'tagall':
1413
+ if (!isGroup) return reply(mess.only.group);
1414
+ if (!isAdmins && !isOwner) return reply(mess.only.admin);
1415
+ let me = m.sender
1416
+ let teks = fontx(` πŸ•ΈοΈγ€Ž 𝐁𝐋𝐔𝐄 𝐗 πƒπ„πŒπŽπ π•πŸ“ γ€πŸ•ΈοΈ\nπŸ‘€ *tagger* @${me.split('@')[0]}\n\n`)
1417
+ for (let mem of participants) {
1418
+ teks += `${themeemoji} @${mem.id.split('@')[0]}\n`
1419
+ }
1420
+ conn.sendMessage(m.chat, {
1421
+ text: teks,
1422
+ mentions: participants.map(a => a.id)
1423
+ }, {
1424
+ quoted: m
1425
+ })
1426
+ break;
1427
+ case 'hidetag': case 'tag': {
1428
+ if (!isGroup) return reply(mess.only.group)
1429
+ if (!isAdmins && !isOwner) return reply(mess.only.admin);
1430
+ await loading();
1431
+ conn.sendMessage(m.chat, { text : q ? q : '' , mentions: participants.map(a => a.id)}, {quoted:m})
1432
+ break;
1433
 
1434
 
1435