Webhook Error When Trying to Update Embed #2709
-
Hi, I am trying to update an embed after certain criteria have been met but I keep running into an error that I am unsure of how to fix. It errors out on the last few lines where I actually edit the message with the error being event.getMessage().editMessageEmbeds(
embedBuilder.build()
).setActionRow(
Button.primary(ButtonIds.JOIN_THREAD, "Join Tread")
.withEmoji(Emoji.fromFormatted("🚀")),
Button.danger(ButtonIds.BAN, "Ban Applicant (Coming Soon)")
.withEmoji(Emoji.fromFormatted("🦵"))
.asDisabled()
).queue(); block |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I added the code extract in a txt file because for some reason GitHub could not format the code block properly. |
Beta Was this translation helpful? Give feedback.
-
All interactions must use |
Beta Was this translation helpful? Give feedback.
All interactions must use
event.reply()
orevent.deferReply()
to send messages. In the future, include the full context, including what event you're using when posting a question.