Skip to content

Commit

Permalink
Update takestick.js
Browse files Browse the repository at this point in the history
  • Loading branch information
SkulZOnTheYT authored Nov 12, 2023
1 parent 6f46347 commit 5b8453c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions plugins/creator/takestick.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ let handler = async (m, { conn, text, usedPrefix, command }) => {
let stiker = false
try {
let [pack, aut] = text.split('|')
if (!pack) pack = packname
if (!aut) aut = author
pack = pack || '-'
aut = aut || '-'
let mime = m.quoted.mimetype || ''
if (!/webp/.test(mime)) throw `Reply / Tag Stiker Sesuai Format :\n*${usedPrefix + command} <packname>|<author>*`
let img = await m.quoted.download()
Expand All @@ -25,7 +25,7 @@ handler.help = ['takestick <packname>|<author>']
handler.tags = ['creator']
handler.command = /^(((stic?ker)?wm(stic?ker)?)|(takestic?k(er)?)|colong)$/i

handler.premium = true
handler.premium = false
handler.limit = true

export default handler

0 comments on commit 5b8453c

Please sign in to comment.