package
3.4.0
Repository: https://github.com/diamondburned/arikawa.git
Documentation: pkg.go.dev

# Functions

AlwaysDeferInteraction always returns a DeferredMessageInteractionWithSource then invokes f in the background.
FromAPI creates a new client that shares the same internal HTTP client with the one in the API's.
New creates a new Client using the passed webhook token and ID.
NewCustom creates a new webhook client using the passed webhook token, ID and a copy of the given httputil.Client.
NewFromURL creates a new webhook client using the passed webhook URL.
NewInteractionServer creates a new InteractionServer instance.
ParseURL parses the given Discord webhook URL.

# Structs

Client is the client used to interact with a webhook.
https://discord.com/developers/docs/resources/webhook#edit-webhook-message-jsonform-params.
https://discord.com/developers/docs/resources/webhook#execute-webhook-jsonform-params.
InteractionServer provides a HTTP handler to verify and handle Interaction Create events sent by Discord into a HTTP endpoint..
Session keeps a single webhook session.

# Interfaces

InteractionHandler is a type whose method is called on every incoming event.

# Type aliases

InteractionErrorFunc is called to write an error.
InteractionHandlerFunc is a function type that implements the interface.