Bloonatics
Bloonatics
DIAdiscord.js - Imagine an app
Created by Bloonatics on 7/20/2023 in #djs-questions
`channel.permissionsFor()` does not take timed out guild member permissions into consideration
3 replies
DIAdiscord.js - Imagine an app
Created by Bloonatics on 7/6/2022 in #djs-questions
The Message object returned between .editReply() and .fetchReply() behave differently
I wanna know more about this
await interaction.deferReply();

const msg = await interaction.editReply('test');

const _msg = await interaction.fetchReply();
await interaction.deferReply();

const msg = await interaction.editReply('test');

const _msg = await interaction.fetchReply();
in fact, msg and _msg are the same Message object, but it behaves totally different. For example if I delete the message and check its properties again, it shows something like this.
msg.editable = true
_msg.editable = false
msg.editable = true
_msg.editable = false
What's the difference between msg and _msg?
10 replies