Skip to content

Commit

Permalink
Update classic.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Samue-l1 authored Jul 12, 2024
1 parent 273073e commit 2d55444
Showing 1 changed file with 19 additions and 30 deletions.
49 changes: 19 additions & 30 deletions classic.js
Original file line number Diff line number Diff line change
Expand Up @@ -3661,40 +3661,29 @@ zetsubo.sendMessage(m.chat, { image : { url : res[0].berita_thumb }, caption: te
})
break
//=================================================//
case 'sindo':
if (isBan) return reply('*Youre are banned with the owner. You dont have to act cool *')
await inireact()
SindoNews().then(async(res) => {
no = 0
teks = ""
for (let i of res) {
no += 1
teks += `\n• ${no.toString()} •\n`
teks += `Berita: ${i.berita}\n`
teks += `Jenis: ${i.berita_jenis}\n`
teks += `Link: ${i.berita_url}\n`
case 'remini': case 'hd': case 'hdr': {
inireact()
if (!quoted) return reply(`Your Photo`)
if (!/image/.test(mime)) return xgreply(`Reply to a photo ${prefix + command}`)
reply(mess.wait)
let media = await quoted.download()
let proses = await remini(media, "enhance");
zetsubo.sendMessage(m.chat, { image: proses, caption: '> Generated by Classic-v3 Bug'}, { quoted: m })
}
teks += ""
reply(teks)
})
break
//=================================================//
case 'tempo':
if (isBan) return reply('*Youre are banned with the owner. You dont have to act cool *')
await inireact()
TempoNews().then(async(res) => {
no = 0
teks = ""
for (let i of res) {
no += 1
teks += `\n• ${no.toString()} •\n`
teks += `Berita: ${i.berita}\n`
teks += `Upload: ${i.berita_diupload}\n`
teks += `Link: ${i.berita_url}\n`
case 'tourl': {
inireact()
reply(mess.wait)
let media = await zetsubo.downloadAndSaveMediaMessage(quoted)
if (/image/.test(mime)) {
let anu = await uptotelegra(media)
reply(util.format(anu))
} else if (!/image/.test(mime)) {
let anu = await UploadFileUgu(media)
reply(util.format(anu))
}
}
teks += ""
zetsubo.sendMessage(m.chat, { image : { url : res[0].berita_thumb }, caption: teks }, { quoted:m })
})
break
//=================================================//
case 'autoread':
Expand Down

0 comments on commit 2d55444

Please sign in to comment.