#Command interactions vs webhook

3 messages · Page 1 of 1 (latest)

midnight latch
#

Hi, I'm quite confused between command interactions and webhooks, and would love to get some clarification on the two.

I know that I can create a webhook integration from "Server settings" then login with a Webhook client to send messages.

However, when my bot sends an interaction reply, there is a webhook property on the interaction. I can't seem to fetch and edit that particular webhook by any methods.

Background:
I have an "event organiser" command which sends an embed with data, and stores event instance data to a database so it can be reloaded again after the bot is restarted. I need some way to fetch this interaction again somehow to edit the embed again and am looking for some solutions.

silk cloud
#

• What's your exact discord.js npm list discord.js and node node -v version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.

trail bolt
#

interaction webhooks are automatically created when an interaction is sent