Dominic
Dominic
Explore posts from servers
DIAdiscord.js - Imagine an app
Created by Dominic on 9/30/2022 in #djs-questions
Select menu reporting old id?
not sure why it kept the old id but i guess this works lol
26 replies
DIAdiscord.js - Imagine an app
Created by Dominic on 9/30/2022 in #djs-questions
Select menu reporting old id?
I deleted the built folder and had it rebuild all of it and it works...
26 replies
DIAdiscord.js - Imagine an app
Created by Dominic on 9/30/2022 in #djs-questions
Select menu reporting old id?
I decided to take a look in the built .js files and low and behold, the old id
26 replies
DIAdiscord.js - Imagine an app
Created by Dominic on 9/30/2022 in #djs-questions
Select menu reporting old id?
Oh, I see the issue with A. And looking back I did send the wrong ID, whoops. Still tho, the same problem remains. What is returned is self-role-create-action-selct, which is not mentioned anywhere in my code.
26 replies
DIAdiscord.js - Imagine an app
Created by Dominic on 9/30/2022 in #djs-questions
Select menu reporting old id?
I need to leave now, but thanks for your help so far!
26 replies
DIAdiscord.js - Imagine an app
Created by Dominic on 9/30/2022 in #djs-questions
Select menu reporting old id?
I am using a select menu handler based off the one the guide shows for slash commands
26 replies
DIAdiscord.js - Imagine an app
Created by Dominic on 9/30/2022 in #djs-questions
Select menu reporting old id?
26 replies
DIAdiscord.js - Imagine an app
Created by Dominic on 9/30/2022 in #djs-questions
Select menu reporting old id?
sure, just a second
26 replies
DIAdiscord.js - Imagine an app
Created by Dominic on 9/30/2022 in #djs-questions
Select menu reporting old id?
I can try it just removing the defer then. I still don't know why this would be sending the old id tho.
26 replies
DIAdiscord.js - Imagine an app
Created by Dominic on 9/30/2022 in #djs-questions
Select menu reporting old id?
Nope.
26 replies
DIAdiscord.js - Imagine an app
Created by Dominic on 9/30/2022 in #djs-questions
Select menu reporting old id?
This is an update of button original button response: await interaction.deferReply({ ephemeral: true }); then return await interaction.editReply({ components: [row] }); response to select menu from previous, sends select menu that is causing this headache await interaction.deferReply, then await interaction.update({ embeds: [embed], components: [actionsSelectMenuActionRow]});
26 replies
DIAdiscord.js - Imagine an app
Created by Dominic on 9/30/2022 in #djs-questions
Select menu reporting old id?
Nope, these are new (ephemeral) messages
26 replies
DIAdiscord.js - Imagine an app
Created by Dominic on 9/30/2022 in #djs-questions
Select menu reporting old id?
It looks like it is sending it with the correct new ID, but it's just the interaction that is the old ID.
26 replies
DIAdiscord.js - Imagine an app
Created by Dominic on 9/30/2022 in #djs-questions
Select menu reporting old id?
will do, just a sec.
26 replies
DIAdiscord.js - Imagine an app
Created by Dominic on 9/30/2022 in #djs-questions
Select menu reporting old id?
Hello?
26 replies
DIAdiscord.js - Imagine an app
Created by Dominic on 9/30/2022 in #djs-questions
Select menu reporting old id?
return await interaction.update({ embeds: [embed], components: [actionsSelectMenuActionRow] }); is that what you mean?
26 replies
DIAdiscord.js - Imagine an app
Created by Dominic on 9/30/2022 in #djs-questions
Select menu reporting old id?
its sorta funny that my typo from earlier is what is sticking around lol
26 replies
DIAdiscord.js - Imagine an app
Created by Dominic on 9/30/2022 in #djs-questions
Select menu reporting old id?
...
const actionsSelectMenuActionRow = new ActionRowBuilder<SelectMenuBuilder>()
.addComponents(
new SelectMenuBuilder()
.setCustomId("self-role-create-editor-select")
.addOptions(
{
...
...
const actionsSelectMenuActionRow = new ActionRowBuilder<SelectMenuBuilder>()
.addComponents(
new SelectMenuBuilder()
.setCustomId("self-role-create-editor-select")
.addOptions(
{
...
I have it logging all interactions to console and when the select menu above is triggered it instead shows an interaction with custom id self-role-create-action-selct which is what the custom id used to be
26 replies
DIAdiscord.js - Imagine an app
Created by Dominic on 9/30/2022 in #djs-questions
Select menu reporting old id?
that's what i figured
26 replies
DIAdiscord.js - Imagine an app
Created by Dominic on 9/30/2022 in #djs-questions
Select menu reporting old id?
also please ping me when you respond
26 replies