(+author embed & {:keys [name url icon-url proxy-icon-url]})
Sets the author in the supplied message embed.
Sets the author in the supplied message embed.
(+field embed name value & {:keys [inline] :or {inline false}})
Adds a field to the supplied message embed.
Adds a field to the supplied message embed.
(+footer embed text & {:keys [icon-url proxy-icon-url]})
Sets the footer in the supplied message embed.
Sets the footer in the supplied message embed.
(+image embed & {:keys [url proxy-url height width]})
Adds an image to the embed message
Adds an image to the embed message
(+provider embed & {:keys [name url]})
Sets the provider in the supplied message embed.
Sets the provider in the supplied message embed.
(+thumbnail embed & {:keys [url proxy-url height width]})
Sets the thumbnail in the supplied message embed.
Sets the thumbnail in the supplied message embed.
(+video embed & {:keys [url height width]})
Adds a video to the embed message
Adds a video to the embed message
(create-embed & {:keys [title description url color] :as embed-options})
Creates an Discord embed object that can be included in a message. These are built by successively applying modifier functions.
Creates an Discord embed object that can be included in a message. These are built by successively applying modifier functions.
(embed->map embed)
Converts the Embed record into a map with no nil valued fields.
Converts the Embed record into a map with no nil valued fields.
(embed? maybe-embed)
Returns whether or not 'maybe-embed' is an Embed record.
Returns whether or not 'maybe-embed' is an Embed record.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close