This commit is contained in:
Dragon Fire
2021-06-07 18:20:57 -04:00
parent 94c44cfddd
commit 45af3b9b82
+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.user.id === msg.author.id;
const interactions = await questionMsg.awaitMessageComponentInteractions(filter, {
max: 1,
time: 15000