Skip to main content

Module interactions

Module interactions 

Source
Expand description

Answers to interactions (§8.14). Only the bot that received an interaction may answer it.

Functions§

delete_original
Deletes the original response.
edit_original
Edits the original response (ends a deferred “thinking” state).
followup
A follow-up message, within 15 minutes; at most 10.
respond
The initial response, within 3 s (the runtime defers automatically at 2.5 s). Returns the message id when the response created a channel message.

Type Aliases§

HostError
Id
MessageBody
Response