Liking cljdoc? Tell your friends :D

discord.embeds


+authorclj

(+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.
raw docstring

+fieldclj

(+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.
raw docstring

+footerclj

(+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.
raw docstring

+imageclj

(+image embed & {:keys [url proxy-url height width]})

Adds an image to the embed message

Adds an image to the embed message
raw docstring

+providerclj

(+provider embed & {:keys [name url]})

Sets the provider in the supplied message embed.

Sets the provider in the supplied message embed.
raw docstring

+thumbnailclj

(+thumbnail embed & {:keys [url proxy-url height width]})

Sets the thumbnail in the supplied message embed.

Sets the thumbnail in the supplied message embed.
raw docstring

+videoclj

(+video embed & {:keys [url height width]})

Adds a video to the embed message

Adds a video to the embed message
raw docstring

create-embedclj

(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.
raw docstring

Embedclj


embed->mapclj

(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.
raw docstring

embed?clj

(embed? maybe-embed)

Returns whether or not 'maybe-embed' is an Embed record.

Returns whether or not 'maybe-embed' is an Embed record.
raw docstring

EmbedAuthorclj


EmbedFieldclj


EmbedFooterclj


EmbedImageclj


EmbedProviderclj


EmbedThumbnailclj


EmbedVideoclj

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

× close