Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update acknowledgment method documentation for clarity
Browse files Browse the repository at this point in the history
BowsiePup committed Jan 18, 2025
1 parent 2aeca13 commit fdd94b9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions events/interaction_events.go
Original file line number Diff line number Diff line change
@@ -46,7 +46,7 @@ func (e *ApplicationCommandInteractionCreate) Guild() (discord.Guild, bool) {
//
// This is used strictly for acknowledging the HTTP interaction request from discord. This responds with 202 Accepted.
//
// When using this, you must respond with <event>.Client().Rest().CreateInteractionResponse()
// When using this, your first http request must be <event>.Client().Rest().CreateInteractionResponse()
//
// This does not produce a visible loading state to the user.
// You are expected to send a new http request within 3 seconds to respond to the interaction.
@@ -110,7 +110,7 @@ func (e *ComponentInteractionCreate) Guild() (discord.Guild, bool) {
//
// This is used strictly for acknowledging the HTTP interaction request from discord. This responds with 202 Accepted.
//
// When using this, you must respond with <event>.Client().Rest().CreateInteractionResponse()
// When using this, your first http request must be <event>.Client().Rest().CreateInteractionResponse()
//
// This does not produce a visible loading state to the user.
// You are expected to send a new http request within 3 seconds to respond to the interaction.
@@ -206,7 +206,7 @@ func (e *ModalSubmitInteractionCreate) Guild() (discord.Guild, bool) {
//
// This is used strictly for acknowledging the HTTP interaction request from discord. This responds with 202 Accepted.
//
// When using this, you must respond with <event>.Client().Rest().CreateInteractionResponse()
// When using this, your first http request must be <event>.Client().Rest().CreateInteractionResponse()
//
// This does not produce a visible loading state to the user.
// You are expected to send a new http request within 3 seconds to respond to the interaction.

0 comments on commit fdd94b9

Please sign in to comment.