You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When updating to version 14.15.3 of Discord.js I've encountered an issue when running button interactions in Group DMs. Buttons return no data to interactionCreate when logging all interactions. Slashcommands work as expected. As soon as I downgraded to version 14.15.2 button interactions worked perfectly.
This can be reproduced by running the latest version of Discord.js and using a button inside of a Group DM.
For possible issues on our part, here's the source code: Would You
Code sample
import{ButtonInteraction,Interaction}from"discord.js";importbuttonInteractionEventfrom"../buttons";importcommandInteractionEventfrom"../commands";import{Event}from"../interfaces";importWouldYoufrom"../util/wouldYou";constevent: Event={event: "interactionCreate",execute: async(client: WouldYou,interaction: Interaction|ButtonInteraction,)=>{console.log(interaction)// Button produced no data and nothing was loggedif(interaction.isCommand()){awaitcommandInteractionEvent.execute(client,interaction);}elseif(interaction.isButton()||interaction.isAnySelectMenu()){awaitbuttonInteractionEvent.execute(client,interaction);}},};exportdefaultevent;
Versions
NodeJS version: v22.2.0
discord.js: 14.15.3
@discordjs/rest: 2.3.0
discord-api-types: 0.37.91
Windows version: Windows 11 Home Insider Preview 23H2, Build 26040.1000
Issue priority
Low (slightly annoying)
Which partials do you have configured?
Channel
Which gateway intents are you subscribing to?
Guilds, GuildMembers, GuildMessages
I have tested this issue on a development release
Not tested
The text was updated successfully, but these errors were encountered:
Which package is this bug report for?
discord.js
Issue description
When updating to version
14.15.3
of Discord.js I've encountered an issue when running button interactions in Group DMs. Buttons return no data tointeractionCreate
when logging all interactions. Slashcommands work as expected. As soon as I downgraded to version14.15.2
button interactions worked perfectly.This can be reproduced by running the latest version of Discord.js and using a button inside of a Group DM.
For possible issues on our part, here's the source code: Would You
Code sample
Versions
NodeJS version: v22.2.0
discord.js: 14.15.3
@discordjs/rest: 2.3.0
discord-api-types: 0.37.91
Windows version: Windows 11 Home Insider Preview 23H2, Build 26040.1000
Issue priority
Low (slightly annoying)
Which partials do you have configured?
Channel
Which gateway intents are you subscribing to?
Guilds, GuildMembers, GuildMessages
I have tested this issue on a development release
Not tested
The text was updated successfully, but these errors were encountered: