Definitions and utilities for interaction responses.
Read https://discord.com/developers/docs/interactions/slash-commands#interaction-response-object
Definitions and utilities for interaction responses. Read https://discord.com/developers/docs/interactions/slash-commands#interaction-response-object
(channel-message data)
Respond to an interaction with a message - data
is the message object (type 4).
Respond to an interaction with a message - `data` is the message object (type 4).
Defer a message response (type 5)
Defer a message response (type 5)
Defer a message update (only for component interactions - type 6)
Defer a message update (only for component interactions - type 6)
(ephemeral response)
Takes an interaction response and makes it ephemeral.
Takes an interaction response and makes it ephemeral.
(update-message data)
Update the message - data
is the message update (only for component interactions - type 7)
Update the message - `data` is the message update (only for component interactions - type 7)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close