Skip to content

MessageId changing when message is sent? #1500

Closed Answered by almostSouji
CookieHosting asked this question in Q&A
Discussion options

You must be logged in to vote

I see, https://old.discordjs.dev/#/docs/discord.js/14.13.0/class/ButtonInteraction?scrollTo=deferReply returns a Message only if the fetchReply option is passed. Otherwise an InteractionResponse. So you are comparing the id of the InteractionResponse to the message, since you do not supply the fetchReply option int he deferReply call.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@CookieHosting
Comment options

@almostSouji
Comment options

Answer selected by almostSouji
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1499 on September 07, 2023 12:20.