MessageUpdate event triggered on interaction reply
My bot sends a reply to a interaction that was initially defered. When the reply is posted it is triggering a messageUpdate event. how can i avoid this ?
10 Replies
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
yes i guess
i editReply the initial interaction
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
is there any check to see if the original message is a defer
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
i am trying to log message edits, so when ever my bot send a interaction editReply to a defered interaction, it triggerers the logging function
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
will look into that
thanks
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
Message.flags.has("Loading")
that worked
thanks