Skip to content

Commit

Permalink
Create teddy.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Kingjux authored May 6, 2024
1 parent 08b297b commit feb7dc9
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions plugins/teddy.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
const {
smd,
sleep
} = require('../lib'),teddyM = {"smd" : "asta" }

smd({
cmdname: "teddy",
type: "fun",
info: "cute teddy",
on: "text" ,
filename: __filename,
},async(citel,match , {smd}) => {
let isteddy = smd ==="teddy"?true : citel.isPublic && match.toLowerCase().includes("teddy") ? true : ""
if (isteddy && !teddyM[citel.id]) {
teddyM[citel.id] =true;
let teddy = ['❤', '💕', '😻', '🧡', '💛', '💚', '💙', '💜', '🖤', '❣', '💞', '💓', '💗', '💖', '💘', '💝', '💟', '♥', '💌', '🙂', '🤗', '😌', '😉', '🤗', '😊', '🎊', '🎉', '🎁', '🎈']
const { key } = await citel.reply( `(\\_/)\n( •.•)\n/>🤍`)
for (let i = 0; i < teddy.length; i++) {
await sleep(500);
await citel.reply(`(\\_/)\n( •.•)\n/>${teddy[i]}`, { edit: key })
}
}

})

0 comments on commit feb7dc9

Please sign in to comment.