Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
austinhuang0131 authored Dec 15, 2019
1 parent a65c485 commit 16bc47e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1727,7 +1727,7 @@ bot.dialog('/trivia1', [
]);

builder.Prompts.confirm(session, session.message.source === "line" ? msg : (game+" Wanna play again?"), {listStyle: 3});
setTimeout(() => nsfw.splice(nsfw.indexOf(nsfw.find(r => r.user === session.message.address.user.id)), 1), 1000);
setTimeout(() => nsfw.splice(nsfw.indexOf(nsfw.find(r => r.user === session.message.address.user.id)), 1), 100);
},
function(session, results) {
if (results.response === true) session.reset("/trivia1");
Expand Down

0 comments on commit 16bc47e

Please sign in to comment.