Skip to content

Commit

Permalink
Error fixed [ Jessi-md 4.8.0 ⏱️ ]
Browse files Browse the repository at this point in the history
  • Loading branch information
whiteshadowofficial committed Oct 26, 2023
1 parent 5d572da commit 4175e04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/yt-ytv.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,10 @@ let handler = async (m, { conn, args, usedPrefix, command }) => {

handler.help = ['video <url>']
handler.tags = ['downloader']
handler.command = /^(yt(v(ideo)?|mp4))$/i
handler.command = /^(video|ytmp4|\?)$/i

export default handler

const somematch = ( data, id ) => {
let res = data.find(el => el === id )
return res ? true : false};
return res ? true : false};

0 comments on commit 4175e04

Please sign in to comment.