Liking cljdoc? Tell your friends :D

discljord.cdn

Namespace with functions to create cdn urls to image data from API entities such as users or guilds.

Namespace with functions to create [cdn urls](https://discord.com/developers/docs/reference#image-formatting) to image data from API entities such as users or guilds.
raw docstring

discljord.connections

Namespace for creating a connection to Discord, and receiving messages. Contains functionality required to create and maintain a sharded and auto-reconnecting connection object which will receive messages from Discord, and pass them on to client code.

Namespace for creating a connection to Discord, and receiving messages.
Contains functionality required to create and maintain a sharded and auto-reconnecting
connection object which will receive messages from Discord, and pass them on to client
code.
raw docstring

discljord.connections.specs

Contains all the specs required for the discljord.connections namespace.

Contains all the specs required for the `discljord.connections` namespace.
raw docstring

No vars found in this namespace.

discljord.events

Functions for getting events off of a queue and processing them.

Functions for getting events off of a queue and processing them.
raw docstring

discljord.events.middleware

Contains functions for constructing middleware, and some default middleware.

Middleware for discljord event handlers allow the modification and filtration of events to be sent along to event handlers. Following is an example of an identity middleware, and can be used as an example of what middleware in discljord look like.

(defn identity-middleware
  "Middleware that passes through events unchanged."
  [handler]
  (fn [event-type event-data & more]
    (apply handler event-type event-data more)))
Contains functions for constructing middleware, and some default middleware.

Middleware for discljord event handlers allow the modification and filtration
of events to be sent along to event handlers. Following is an example of an
identity middleware, and can be used as an example of what middleware in
discljord look like.

```clojure
(defn identity-middleware
  "Middleware that passes through events unchanged."
  [handler]
  (fn [event-type event-data & more]
    (apply handler event-type event-data more)))
```
raw docstring

discljord.messaging

Contains functions for communicating with Discord, sending messages, and recieving data.

All endpoint-based functions in this namespace return promises of a sort. The returned value is not a Clojure promise however, but is an implementation of [[IDeref]] which also functions as a core.async channel. This means that in addition to [[deref]]ing the return values, they may also have a parking take performed on them for better concurrency.

Contains functions for communicating with Discord, sending messages, and recieving data.

All endpoint-based functions in this namespace return promises of a sort. The
returned value is not a Clojure promise however, but is an implementation
of [[IDeref]] which also functions as a `core.async` channel. This means that
in addition to [[deref]]ing the return values, they may also have a parking
take performed on them for better concurrency.
raw docstring

discljord.messaging.impl

Implementation namespace for discljord.messaging.

Implementation namespace for `discljord.messaging`.
raw docstring

discljord.snowflakes

Contains utility functions to parse, deconstruct and create snowflake ids.

Contains utility functions to parse, deconstruct and create [snowflake ids](https://discord.com/developers/docs/reference#snowflakes).
raw docstring

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

× close