Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ async function starts() {
}

// Tebak Gambar
if (tebakgambar.hasOwnProperty(sender.split('@')[0]) && !isCmd && budy.match(/[1-9]{1}/)) {
if (tebakgambar.hasOwnProperty(sender.split('@')[0]) && !isCmd) {
kuis = true
jawaban = tebakgambar[sender.split('@')[0]]
if (budy.toLowerCase() == jawaban) {
Expand Down Expand Up @@ -228,7 +228,7 @@ async function starts() {

// Akinator
// Premium / VIP apikey only
if (akinator.hasOwnProperty(sender.split('@')[0]) && !isCmd && ["0", "1", "2", "3", "4", "5"].includes(body)) {
if (akinator.hasOwnProperty(sender.split('@')[0]) && !isCmd && ["0", "1", "2", "3", "4", "5"].includes(budy)) {
kuis = true
var { server, frontaddr, session, signature, question, step } = akinator[sender.split('@')[0]]
if (step == "0" && budy == "5") return reply("Maaf Anda telah mencapai pertanyaan pertama")
Expand Down Expand Up @@ -2499,4 +2499,4 @@ async function starts() {
}
})
}
starts()
starts()