The Message object returned between .editReply() and .fetchReply() behave differently
I wanna know more about this
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.
What's the difference between msg and _msg?
5 Replies
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
Since this issue has caused unexpected errors in my verified bot project, I have conducted multiple research yesterday and identified the errors
yes, therefore I have appended an additional .fetchReply() at the end
I'm using this in InteractionCollector therefore I can find out if a message is deleted by the collector end reason "messageDelete"
yes, fetching a message and see if the promise rejects is still the most stable way to validate a message
I have both prefix commands and application commands
therefore the .editable and .deletable will be deprecated
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
alright thanks for your help, I have completed identified and fixed the problem already