Hello, I'm trying to get a button working in DMs, but it does not seem to be even triggering the InteractionCreate event, resulting in Interaction Failed. I know it doesn't because I logged every time the InteractionCreate event's function was run, and it did not log when the button was pressed.
However, when I made a test command that sends me a very simple button, that button actually triggers the InteractionCreate event, unlike the one I want to work.
I have no idea why it is doing that. Here is the one that isn't working:
const appealButton = new ActionRowBuilder<ButtonBuilder>().addComponents([ new ButtonBuilder() .setCustomId(`${appealButtonId}-${appealId}`) .setLabel("Appeal") .setStyle(ButtonStyle.Primary)]);
const appealButton = new ActionRowBuilder<ButtonBuilder>().addComponents([ new ButtonBuilder() .setCustomId(`${appealButtonId}-${appealId}`) .setLabel("Appeal") .setStyle(ButtonStyle.Primary)]);
where the customId is usually something along the lines of