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.
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.
Implementation of websocket connections to Discord.
Implementation of websocket connections to Discord.
Contains all the specs required for the discljord.connections
namespace.
Contains all the specs required for the `discljord.connections` namespace.
No vars found in this namespace.
Functions for getting events off of a queue and processing them.
Functions for getting events off of a queue and processing them.
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))) ```
Middleware to cache all the state that Discord sends.
Middleware to cache all the state that Discord sends.
Contains utility functions to help with Discord message formatting.
Contains utility functions to help with Discord message formatting.
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.
Implementation namespace for discljord.messaging
.
Implementation namespace for `discljord.messaging`.
Functions for determining users' permissions.
Functions for determining users' permissions.
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).
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close