mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-13 00:09:08 +02:00
Fix
This commit is contained in:
@@ -56,7 +56,7 @@ module.exports = class TrueOrFalseCommand extends Command {
|
|||||||
**You have 15 seconds to answer this question.**
|
**You have 15 seconds to answer this question.**
|
||||||
${decodeURIComponent(body.results[0].question)}
|
${decodeURIComponent(body.results[0].question)}
|
||||||
`, { components: [row] });
|
`, { 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, {
|
const interactions = await questionMsg.awaitMessageComponentInteractions(filter, {
|
||||||
max: 1,
|
max: 1,
|
||||||
time: 15000
|
time: 15000
|
||||||
|
|||||||
Reference in New Issue
Block a user