- ๐ผ My name is Zeeone
- ๐ฃ๏ธ I am 17 years old
- ๐ญ I am not programmer
๐ฟ๐ค๐ฌ๐ฃ๐ก๐ค๐๐ & ๐๐ค๐๐๐๐ก ๐๐๐๐๐ ๐คณ
Example Case
Example Case:
case 'youtube_audio':
if (args.length < 1) return reply("Where's the link bro")
if (!isUrl(args[0]) && !args[0].includes('youtu')) return reply('```Invalid link```')
reply(lang.wait())
anu = await fetchJson(`https://api-alphabot.herokuapp.com/api/yutub/audio?url=${args[0]}&apikey=Alphabot`)
ini_txt = `YT AUDIO HAS BEEN FOUND\n\n`
ini_txt += `โข Judul : ${anu.result.title}\n`
ini_txt += `โข Ext : mp3\n`
ini_txt += `โข Size : ${anu.result.filesize}\n\n_Tunggu beberapa menit video akan segera di kirimkan_`
ini_txt2 = await getBuffer(anu.result.thumb)
ini_txt3 = await getBuffer(anu.result.result)
alpha.sendMessage(from, ini_txt2, image, { quoted: mek, caption: ini_txt })
alpha.sendMessage(from, ini_txt3, audio, { mimetype: 'audio/mp4', quoted: mek, ptt:true})
break
๐๐จ๐ก๐๐ข๐๐ ๐
Example Case
Example Case:
case 'hadist_sahih':
if (args.length < 1) return reply(`Usage: ${prefix + command} kitab|nomor\nExample : ${prefix + command} Bukhari|15`)
get_args = args.join(" ").split("|")
kitab = get_args[0]
nomor = get_args[1]
var hadist = await fetchJson('https://api-alphabot.herokuapp.com/api/hadits?kitab=${kitab}&nomor=${nomor}&apikey=Alphabot')
ini_result = hadist.result
ini_txt = `Name : ${ini_result.name}\n`
ini_txt += `Id : ${ini_result.id}\n`
ini_txt += `Available : ${ini_result.availabel}\n`
ini_txt += `Number : ${ini_result.contents.number}\n`
ini_txt += `Arab : ${ini_result.contents.arab}\n`
ini_txt += `Ind : ${ini_result.contents.id}`
reply(ini_txt)
break
๐๐ข๐๐๐๐จ ๐ผ๏ธ
Example Case
Example Case:
case 'wallpaper_programming':
get_result = await fetchJson(`https://api-alphabot.herokuapp.com/api/wallpaper/teknologi?apikey=Alphabot`)
get_result = get_result.result
for (var x = 0; x <= 5; x++) {
var ini_buffer = await getBuffer(get_result[x])
await alpha.sendMessage(from, ini_buffer, image)
}
break
๐๐๐ฃ๐๐ค๐ข โ
Example Case
Example Case:
case 'random_quote':
ini_result = await fetchJson('https://api-alphabot.herokuapp.com/api/randomquote?apikey=Alphabot')
get_result = ini_result.result
ini_txt = `${get_result.quotes}\n\n`
ini_txt += `~ ${get_result.author}`
reply(ini_txt)
๐๐๐ญ๐ฉ ๐๐๐ ๐๐ง 2๐ฟ ๐ฉโโค๏ธโ๐โ๐ฉ
Example Case
Example Case:
case 'maker_2d':
if (args.length < 1) return reply(`Usage: ${prefix + command} teks\nExample : ${prefix + command} zeeoneofc)
teksnya = args.join(" ")
ini_result = await fetchJson(`https://api-alphabot.herokuapp.com/api/maker?text=${teksnya}&apikey=Alphabot`}
get_result = ini_result.result
ini_img = await getBuffer(get_result.results)
alpha.sendMessage(from, ini_img, image,{quoted :mek, caption : 'Nih kak hasilnya'})
break
๐๐๐ญ๐ฉ ๐๐๐ ๐๐ง 3๐ฟ ๐ซ
Example Case
Example Case:
case 'maker_3d':
if (args.length < 1) return reply(`Usage: ${prefix + command} teks\nExample : ${prefix + command} zeeoneofc)
teksnya = args.join(" ")
ini_result = await fetchJson(`https://api-alphabot.herokuapp.com/api/maker3d?text=${teksnya}&apikey=Alphabot`}
get_result = ini_result.result
ini_img = await getBuffer(get_result.results)
alpha.sendMessage(from, ini_img, image,{quoted :mek, caption : 'Nih kak hasilnya'})
break
๐๐๐ญ๐ฉ ๐๐๐ ๐๐ง ๐๐ฉ๐๐๐ง๐จ ๐พ
Example Case
Example Case:
case 'sertifikat_ff':
if (args.length < 1) return reply(`Usage: ${prefix + command} teks\nExample : ${prefix + command} zeeoneofc)
teksnya = args.join(" ")
ini_result = await fetchJson(`api-alphabot.herokuapp.com/api/maker/special/epep?text=${teksnya}&apikey=Alphabot`}
get_result = ini_result.result
ini_img = await getBuffer(get_result.results)
alpha.sendMessage(from, ini_img, image,{quoted :mek, caption : 'Nih kak hasilnya'})
break
๐๐๐ค๐ฉ๐ค๐ค๐ญ๐ฎ ๐
Example Case
Example Case:
case 'coffe_cup':
if (args.length < 1) return reply(`Usage: ${prefix + command} teks\nExample : ${prefix + command} zeeoneofc)
teksnya = args.join(" ")
ini_result = await fetchJson(`https://percobaannih.herokuapp.com/api/textmaker/senja?text=${teksnya}&theme=coffee-cup&apikey=Alphabot`}
get_result = ini_result.result
ini_img = await getBuffer(get_result.url)
alpha.sendMessage(from, ini_img, image,{quoted :mek, caption : 'Nih kak hasilnya'})
break
๐ผ๐ฃ๐๐ข๐ ๐
Example Case
Example Case:
case 'manga':
if (args.length < 1) return reply(`Example : ${prefix + command} naruto`)
query = args.join(" ")
var manga = await fetchJson('https://percobaannih.herokuapp.com/api/anime/kusonime?search=${query}&apikey=Alphabot')
ini_result = manga.result
ini_txt = `Title : ${ini_result.title}\n`
ini_txt += `Title Japan : ${ini_result.title_jp}\n`
ini_txt += `Genre : ${ini_result.genre}\n`
ini_txt += `Season : ${ini_result.season}\n`
ini_txt += `Producer : ${ini_result.producer}\n`
ini_txt += `Type : ${ini_result.contents.number}\n`
ini_txt += `Status : ${ini_result.availabel}\n`
ini_txt += `Total Episode : ${ini_result.contents.number}\n`
ini_txt += `Score : ${ini_result.contents.arab}\n`
ini_txt += `Duration : ${ini_result.availabel}\n`
ini_txt += `Release : ${ini_result.contents.number}\n`
ini_txt += `Description : ${ini_result.contents.arab}`
ini_txt2 = await getBuffer(ini_result.thumb)
reply(ini_txt)
break
๐ผ๐จ๐ช๐ฅ๐๐ฃ ๐๐๐ข๐๐ก๐๐ฃ๐ ๐ฝ๏ธ
Example Case
Example Case:
case 'asupan_santuy':
ini_result = await fetchJson(`https://api-alphabot.herokuapp.com/api/asupan/santuy?apikey=Alphabot`)
get_result = ini_result.result
ini_vid = await getBuffer(get_result.url)
alpha.sendMessage(from, ini_vid, video, {mimetype: 'video/mp4',quoted:mek})
break
๐๐๐๐ ๐
Example Case
Example Case:
case 'nsfw_ass':
ini_result = await fetchJson(`https://api-alphabot.herokuapp.com/api/nsfw/ass?apikey=Alphabot`)
get_result = ini_result.result
ini_img = await getBuffer(get_result)
alpha.sendMessage(from, ini_img, image, {quoted:mek})
break
๐๐๐ข๐๐จ ๐ฎ
Example Case
Example Case:
Untuk game memerlukan function jadi gua gk kasi example dulu
๐๐๐๐๐ ๐พ๐๐ฌ๐ ๐ญ
Example Case
Example Case:
case 'cewe_vietnam':
ini_result = await fetchJson(`https://api-alphabot.herokuapp.com/api/cewe/vietnam?apikey=Alphabot`)
get_result = ini_result.result
ini_img = await getBuffer(get_result.url)
alpha.sendMessage(from, ini_img, image, {quoted:mek})
break
๐๐๐ก๐ข๐ผ๐ฅ๐๐ ๐ฌ
Example Case
Example Case:
case 'cari_film':
if (args.length < 1) return reply(`Example : ${prefix + command} Avengers)
query = args.join(" ")
get_result = await fetchJson(`https://api-alphabot.herokuapp.com/api/filmapik/search?film=${query}&apikey=Alphabot`)
for (var x = 0; x <= 1; x++) {
ini_img = get_result[x].result.thumbnailPotrait
ini_txt = `DATA BERHASIL DI TEMUKAN\n\n`
ini_txt += ` Title : ${get_result[x].result.title}\n`
ini_txt += `Rating :get_result[x].result.rating\n`
ini_txt += `Episode : get_result[x].result.episode\n`
ini_txt += `Id : get_result[x].result.movieId
ini_txt += `Views : get_result[x].result.datails.views
ini_txt += `Genre :get_result[x].result.datails.genre\n`
ini_txt += `Duration :get_result[x].result.datails.duration\n`
ini_txt += `Release :get_result[x].result.datails.release\n`
ini_txt += `Total Eps. :get_result[x].result.datails.totalEpisodes\n`
ini_txt += `Description :get_result[x].result.datails.description`
await alpha.sendMessage(from, ini_img, image, {caption: ini_txt, quoted : mek})
}
break
๐๐ 21 ๐ฆ
Example Case
Example Case:
case 'lk21_tahun': //mencari film lk21 berdasarkan tahun
if (args.length < 1) return reply(`Usage : ${prefix + command} Tahun\nExample : ${prefix + command} 2021)
query = args.join(" ")
get_result = await fetchJson(`https://api-alphabot.herokuapp.com/api/lk21/year?tahun=${query}&apikey=Alphabot`)
for (var x = 0; x <= 1; x++) {
ini_img = get_result[x].result.result.thumbnail
ini_txt = `DATA BERHASIL DI TEMUKAN\n\n`
ini_txt += `Title : ${get_result[x].result.result.title}\n`
ini_txt += `Rating :get_result[x].result.result.rating\n`
ini_txt += `Genre :get_result[x].result.result.genre\n`
ini_txt += `Duration :get_result[x].result.result.duration\n`
ini_txt += `Quality :get_result[x].result.result.quality\n`
ini_txt += `Trailer :get_result[x].result.result.trailer\n`
ini_txt += `Watch :get_result[x].result.result.watch`
await alpha.sendMessage(from, ini_img, image, {caption: ini_txt, quoted : mek})
}
break
๐๐๐ฌ๐จ ๐ฐ
Example Case
Example Case:
case 'republika':
if (args.length < 1) return reply(`Usage : ${prefix + command} jenis berita\nExample : ${prefix + command} ekonomi)
query = args.join(" ")
get_result = await fetchJson(`https://api-alphabot.herokuapp.com/api/news/republika?type=${query}&apikey=Alphabot`)
for (var x = 0; x <= 1; x++) {
ini_txt = `DATA BERHASIL DI TEMUKAN\n\n`
ini_txt += `Title : ${get_result[x].result.data.title}\n`
ini_txt += `Link :get_result[x].result.data.link\n`
ini_txt += `Isodate :get_result[x].result.data.isoDate\n`
ini_txt += `Kategori :get_result[x].result.data.categories\n`
ini_txt += `Creator :get_result[x].result.data.creator\n`
ini_txt += `Description :get_result[x].result.data.description`
reply(ini_txt)
}
break
๐๐ฃ๐๐ค๐๐ & ๐ฟ๐๐๐ค๐๐ ๐จโ๐ป
Example Case
Example Case:
case 'base64encode':
if (args.length < 1) return reply(`Usage : ${prefix + command} teks\nExample : ${prefix + command} zeeoneofc)
query = args.join(" ")
ini_result = await fetchJson(`https://api-alphabot.herokuapp.com/api/base?apikey=Alphabot&type=base64&encode=${query}`)
get_result = ini_result.result
ini_txt = `Type : ${get_result.type}\n`
ini_txt += `String : ${get_result.string}\n`
ini_txt += `Encode : ${get_result.encode}`
reply(ini_txt)
break
๐๐ฉ๐๐๐ง๐จ ๐
Example Case
Example Case:
case 'covid_word':
ini_result = await fetchJson('https://api-alphabot.herokuapp.com/api/covidworld?apikey=Alphabot')
get_result = ini_result.result
ini_txt = `C O V I D W O R L D`
ini_txt += `Total Case : ${get_result.totalCases}\n`
ini_txt += `Deaths : ${get_result.deaths}\n`
ini_txt += `Recovered : ${get_result.recovered}\n`
ini_txt += `Active Cases : ${get_result.activeCases}\n`
ini_txt += `Closed Cases : ${get_result.closedCases}\n`
ini_txt += `lastUpdate : ${get_result.lastUpdate}`
reply (ini_txt)
break