This commit is contained in:
Dragon Fire
2021-06-07 18:13:27 -04:00
parent bbcdddc532
commit 94c44cfddd
+1 -1
View File
@@ -56,7 +56,7 @@ module.exports = class TrueOrFalseCommand extends Command {
**You have 15 seconds to answer this question.**
${decodeURIComponent(body.results[0].question)}
`, { components: [row] });
const filter = res => res.author.id !== msg.author.id;
const filter = res => res.author.id === msg.author.id;
const interactions = await questionMsg.awaitMessageComponentInteractions(filter, {
max: 1,
time: 15000