Liking cljdoc? Tell your friends :D

slash.response

Definitions and utilities for interaction responses.

Read https://discord.com/developers/docs/interactions/slash-commands#interaction-response-object
raw docstring

channel-messageclj

(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).
sourceraw docstring

deferred-channel-messageclj

Defer a message response (type 5)

Defer a message response (type 5)
sourceraw docstring

deferred-update-messageclj

Defer a message update (only for component interactions - type 6)

Defer a message update (only for component interactions - type 6)
sourceraw docstring

ephemeralclj

(ephemeral response)

Takes an interaction response and makes it ephemeral.

Takes an interaction response and makes it ephemeral.
sourceraw docstring

pongclj

The PONG response (type 1)

The PONG response (type 1)
sourceraw docstring

update-messageclj

(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)
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close