Skip to content

Commit

Permalink
afk, tebakgambar, akinator
Browse files Browse the repository at this point in the history
  • Loading branch information
LoL-Human committed Apr 7, 2021
1 parent c3621e9 commit cda08e5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -1685,6 +1685,12 @@ async function starts() {
fs.writeFileSync("./database/akinator.json", JSON.stringify(akinator))
})
break
case 'cancelakinator':
if (!akinator.hasOwnProperty(sender.split('@')[0])) return reply("Anda tidak memiliki akinator sebelumnya")
delete akinator[sender.split('@')[0]]
fs.writeFileSync("./database/akinator.json", JSON.stringify(akinator))
reply("Success mengcancel akinator sebelumnya")
break


// Creator
Expand Down

0 comments on commit cda08e5

Please sign in to comment.