Skip to content

Commit

Permalink
docs: specify examples for callback endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
BastiDood committed Dec 28, 2024
1 parent c9d94fa commit cedd181
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ docker compose --profile=dev down

The bot relies on two callback endpoints that receives webhook events from Discord:

1. The **interactions endpoint** for [receiving application commands][discord-interactions] via HTTP POST requests from Discord.
1. The **webhook events endpoint** for receiving [application authorization][discord-application-authorized] events from Discord.
1. The **interactions endpoint** (i.e., `/webhook/discord/interaction`) for [receiving application commands][discord-interactions] via HTTP POST requests from Discord.
1. The **webhook events endpoint** (i.e., `/webhook/discord/event`) for receiving [application authorization][discord-application-authorized] events from Discord.

[discord-interactions]: https://discord.com/developers/docs/interactions/overview#preparing-for-interactions
[discord-application-authorized]: https://discord.com/developers/docs/events/webhook-events#application-authorized
Expand Down

0 comments on commit cedd181

Please sign in to comment.