bussin
bussin
DIAdiscord.js - Imagine an app
Created by bussin on 8/19/2023 in #djs-questions
discord.js ignores select menu input
i really appreciate it !
33 replies
DIAdiscord.js - Imagine an app
Created by bussin on 8/19/2023 in #djs-questions
discord.js ignores select menu input
fetchReply: true works now
33 replies
DIAdiscord.js - Imagine an app
Created by bussin on 8/19/2023 in #djs-questions
discord.js ignores select menu input
oh wow, well that's embarrassing
33 replies
DIAdiscord.js - Imagine an app
Created by bussin on 8/19/2023 in #djs-questions
discord.js ignores select menu input
and the fact I have nearly identical code in another interactionCreate event file that works
33 replies
DIAdiscord.js - Imagine an app
Created by bussin on 8/19/2023 in #djs-questions
discord.js ignores select menu input
I just don't understand what changed in v14.13 that causes the collector to not respond
33 replies
DIAdiscord.js - Imagine an app
Created by bussin on 8/19/2023 in #djs-questions
discord.js ignores select menu input
const {
Events,
EmbedBuilder,
ActionRowBuilder,
ButtonBuilder,
ButtonStyle,
StringSelectMenuOptionBuilder,
StringSelectMenuBuilder,
ComponentType
} = require("discord.js");

module.exports = {
name: Events.InteractionCreate,
async execute(client, interaction) {
console.log("INTERACTION LOGGED");
// ...
const {
Events,
EmbedBuilder,
ActionRowBuilder,
ButtonBuilder,
ButtonStyle,
StringSelectMenuOptionBuilder,
StringSelectMenuBuilder,
ComponentType
} = require("discord.js");

module.exports = {
name: Events.InteractionCreate,
async execute(client, interaction) {
console.log("INTERACTION LOGGED");
// ...
33 replies
DIAdiscord.js - Imagine an app
Created by bussin on 8/19/2023 in #djs-questions
discord.js ignores select menu input
33 replies
DIAdiscord.js - Imagine an app
Created by bussin on 8/19/2023 in #djs-questions
discord.js ignores select menu input
yes it does log
33 replies
DIAdiscord.js - Imagine an app
Created by bussin on 8/19/2023 in #djs-questions
discord.js ignores select menu input
ah
33 replies
DIAdiscord.js - Imagine an app
Created by bussin on 8/19/2023 in #djs-questions
discord.js ignores select menu input
you mean this?
collector.once("collect", async (i) => {
const categorySelection = i.values[0];
console.log(categorySelection);
collector.once("collect", async (i) => {
const categorySelection = i.values[0];
console.log(categorySelection);
33 replies
DIAdiscord.js - Imagine an app
Created by bussin on 8/19/2023 in #djs-questions
discord.js ignores select menu input
doesn't log anything, even a string
33 replies
DIAdiscord.js - Imagine an app
Created by bussin on 8/19/2023 in #djs-questions
discord.js ignores select menu input
no it doesn't log
33 replies
DIAdiscord.js - Imagine an app
Created by bussin on 8/19/2023 in #djs-questions
discord.js ignores select menu input
oh
33 replies
DIAdiscord.js - Imagine an app
Created by bussin on 8/19/2023 in #djs-questions
discord.js ignores select menu input
zooted
33 replies
DIAdiscord.js - Imagine an app
Created by bussin on 8/19/2023 in #djs-questions
discord.js ignores select menu input
my fault
33 replies
DIAdiscord.js - Imagine an app
Created by bussin on 8/19/2023 in #djs-questions
discord.js ignores select menu input
Yes it does, the first half of my code works.. meaning it sends the reply:
// line 93
let categoryResponse = await interaction.reply({
embeds: [presetCategories],
components: [...row],
ephemeral: true
});
// line 93
let categoryResponse = await interaction.reply({
embeds: [presetCategories],
components: [...row],
ephemeral: true
});
however the issue I'm having is the collector not firing when I choose an option
33 replies
DIAdiscord.js - Imagine an app
Created by bussin on 8/19/2023 in #djs-questions
discord.js ignores select menu input
33 replies
DIAdiscord.js - Imagine an app
Created by bussin on 8/19/2023 in #djs-questions
discord.js ignores select menu input
not at all
33 replies
DIAdiscord.js - Imagine an app
Created by bussin on 8/19/2023 in #djs-questions
discord.js ignores select menu input
No it does, that's the thing. it works for a different interaction in another file https://sourceb.in/PAEHcTli1v
33 replies
DIAdiscord.js - Imagine an app
Created by bussin on 8/19/2023 in #djs-questions
discord.js ignores select menu input
https://sourceb.in/jveslYpMX5 It is a menu selection from a message not a modal submit fetchReply: true behaves the same, still no luck I use InteractionCreate elsewhere and it does work, doesn't work specifically in this case
33 replies