PiggyPlex
DIAdiscord.js - Imagine a bot
•Created by PiggyPlex on 5/11/2024 in #djs-questions
Nested message component collector not firing
I reckon I'll just refactor as that's probably part of what makes it so difficult to debug
24 replies
DIAdiscord.js - Imagine a bot
•Created by PiggyPlex on 5/11/2024 in #djs-questions
Nested message component collector not firing
same, I'm a bit confused
24 replies
DIAdiscord.js - Imagine a bot
•Created by PiggyPlex on 5/11/2024 in #djs-questions
Nested message component collector not firing
Yeah, that's true, that makes more sense
24 replies
DIAdiscord.js - Imagine a bot
•Created by PiggyPlex on 5/11/2024 in #djs-questions
Nested message component collector not firing
Yep
24 replies
DIAdiscord.js - Imagine a bot
•Created by PiggyPlex on 5/11/2024 in #djs-questions
Nested message component collector not firing
24 replies
DIAdiscord.js - Imagine a bot
•Created by PiggyPlex on 5/11/2024 in #djs-questions
Nested message component collector not firing
I can send a gist of the command file
24 replies
DIAdiscord.js - Imagine a bot
•Created by PiggyPlex on 5/11/2024 in #djs-questions
Nested message component collector not firing
it is, but it is in a private repo at the moment
24 replies
DIAdiscord.js - Imagine a bot
•Created by PiggyPlex on 5/11/2024 in #djs-questions
Nested message component collector not firing
Command is from Sapphire
24 replies
DIAdiscord.js - Imagine a bot
•Created by PiggyPlex on 5/11/2024 in #djs-questions
Nested message component collector not firing
type InitialInteraction = Command.ChatInputCommandInteraction | Command.ContextMenuCommandInteraction;
24 replies
DIAdiscord.js - Imagine a bot
•Created by PiggyPlex on 5/11/2024 in #djs-questions
Nested message component collector not firing
I know that the best way is to abstract it out into an event listener, however I was just wondering if there's a way to fix this as it is
24 replies
DIAdiscord.js - Imagine a bot
•Created by PiggyPlex on 5/11/2024 in #djs-questions
Nested message component collector not firing
thus
this.handleComponentInteraction
is called from a collector24 replies
DIAdiscord.js - Imagine a bot
•Created by PiggyPlex on 5/11/2024 in #djs-questions
Nested message component collector not firing
24 replies
DIAdiscord.js - Imagine a bot
•Created by PiggyPlex on 5/11/2024 in #djs-questions
Nested message component collector not firing
lastly, as you can see here ^^, the final interaction involves a confirmation button saying
Yes, demote them
24 replies
DIAdiscord.js - Imagine a bot
•Created by PiggyPlex on 5/11/2024 in #djs-questions
Nested message component collector not firing
the next interaction is involved when a user presses the
Demote
button24 replies
DIAdiscord.js - Imagine a bot
•Created by PiggyPlex on 5/11/2024 in #djs-questions
Nested message component collector not firing
the first interaction is the slash command,
/manage <@user>
24 replies
DIAdiscord.js - Imagine a bot
•Created by PiggyPlex on 5/11/2024 in #djs-questions
Nested message component collector not firing
so am I listening to the wrong message or am I doing something stupid like that?
24 replies
DIAdiscord.js - Imagine a bot
•Created by PiggyPlex on 5/11/2024 in #djs-questions
Nested message component collector not firing
I also tried logging the filter, nothing gets passed through to the filter
24 replies
DIAdiscord.js - Imagine a bot
•Created by PiggyPlex on 5/11/2024 in #djs-questions
Nested message component collector not firing
however pressing the button does not go through to
2
/ 3
24 replies
DIAdiscord.js - Imagine a bot
•Created by PiggyPlex on 5/11/2024 in #djs-questions
Nested message component collector not firing
0
and 1
log, and 2
correctly logs after 30 seconds24 replies