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

+imageclj

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

Adds an image to the embed message

Adds an image to the embed message
sourceraw docstring

+providerclj

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

Sets the provider in the supplied message embed.

Sets the provider in the supplied message embed.
sourceraw 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.
sourceraw docstring

+videoclj

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

Adds a video to the embed message

Adds a video to the embed message
sourceraw 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.
sourceraw docstring

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

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

× close