Namespaces
discljord.cdn
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.
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.
discljord.connections.impl
Implementation of websocket connections to Discord.
Public variables and functions:
- *handle-re-shard*
- *identify-limiter*
- *identify-when*
- *stop-on-fatal-code*
- after-timeout!
- buffer-size
- byte-array-buffer-size
- connect-shards!
- connect-websocket!
- fatal-code?
- get-shard-from-guild
- get-websocket-gateway
- handle-bot-fx!
- handle-communication!
- handle-connection-event!
- handle-discord-event
- handle-payload
- handle-shard-communication!
- handle-shard-fx!
- handle-websocket-event
- intent->intent-int
- make-identify-fn
- make-shard
- new-session-stop-code?
- re-shard-stop-code?
- remove-shards
- run-on-agent-with-limit
- shard-matches-any?
- shard-matches?
- should-resume?
- step-shard!
- user-error-code?
discljord.connections.specs
Contains all the specs required for the `discljord.connections` namespace.
Public variables and functions:
discljord.events
Functions for getting events off of a queue and processing them.
Public variables and functions:
discljord.events.middleware
Contains functions for constructing middleware, and some default middleware.
Public variables and functions:
discljord.events.state
Middleware to cache all the state that Discord sends.
Public variables and functions:
- caching-handlers
- caching-middleware
- caching-transducer
- channel-delete
- channel-pins-update
- channel-update
- guild-emojis-update
- guild-member-remove
- guild-member-update
- guild-members-chunk
- guild-role-delete
- guild-role-update
- guild-update
- message-create
- prepare-guild
- prepare-thread
- presence-update
- ready
- thread-delete
- thread-list-sync
- thread-member-update
- thread-members-update
- thread-update
- user-update
- voice-state-update
discljord.formatting
Contains utility functions to help with Discord message formatting.
discljord.messaging
Contains functions for communicating with Discord, sending messages, and recieving data.
Public variables and functions:
- add-channel-pinned-message!
- add-guild-member!
- add-guild-member-role!
- add-thread-member!
- batch-edit-application-command-permissions!
- begin-guild-prune!
- bulk-delete-messages!
- bulk-overwrite-global-application-commands!
- bulk-overwrite-guild-application-commands!
- create-channel-invite!
- create-dm!
- create-followup-message!
- create-global-application-command!
- create-group-dm!
- create-guild!
- create-guild-application-command!
- create-guild-ban!
- create-guild-channel!
- create-guild-emoji!
- create-guild-integration!
- create-guild-role!
- create-interaction-response!
- create-message!
- create-reaction!
- create-webhook!
- defendpoint
- delete-all-reactions!
- delete-all-reactions-for-emoji!
- delete-channel!
- delete-channel-permission!
- delete-followup-message!
- delete-global-application-command!
- delete-guild!
- delete-guild-application-command!
- delete-guild-emoji!
- delete-guild-integration!
- delete-guild-role!
- delete-invite!
- delete-message!
- delete-original-interaction-response!
- delete-own-reaction!
- delete-pinned-channel-message!
- delete-user-reaction!
- delete-webhook!
- delete-webhook-message!
- delete-webhook-with-token!
- edit-application-command-permissions!
- edit-channel-permissions!
- edit-followup-message!
- edit-global-application-command!
- edit-guild-application-command!
- edit-message!
- edit-original-interaction-response!
- edit-webhook-message!
- execute-webhook!
- get-application-command-permissions!
- get-channel!
- get-channel-invites!
- get-channel-message!
- get-channel-messages!
- get-channel-webhooks!
- get-current-application-information!
- get-current-user!
- get-current-user-guilds!
- get-global-application-commands!
- get-guild!
- get-guild-application-command-permissions!
- get-guild-application-commands!
- get-guild-audit-log!
- get-guild-ban!
- get-guild-bans!
- get-guild-channels!
- get-guild-embed!
- get-guild-emoji!
- get-guild-integrations!
- get-guild-invites!
- get-guild-member!
- get-guild-prune-count!
- get-guild-roles!
- get-guild-vanity-url!
- get-guild-voice-regions!
- get-guild-webhooks!
- get-guild-widget!
- get-guild-widget-image!
- get-guild-widget-settings!
- get-invite!
- get-original-interaction-response!
- get-pinned-messages!
- get-reactions!
- get-user!
- get-user-connections!
- get-user-dms!
- get-webhook!
- get-webhook-message!
- get-webhook-with-token!
- group-dm-add-recipient!
- group-dm-remove-recipient!
- join-thread!
- leave-guild!
- leave-thread!
- list-active-threads!
- list-guild-emojis!
- list-guild-members!
- list-joined-private-archived-threads!
- list-private-archived-threads!
- list-public-archived-threads!
- list-thread-members!
- list-voice-regions!
- modifiy-guild-role!
- modify-channel!
- modify-current-user!
- modify-current-user-nick!
- modify-guild!
- modify-guild-channel-positions!
- modify-guild-embed!
- modify-guild-emoji!
- modify-guild-integration!
- modify-guild-member!
- modify-guild-role-positions!
- modify-guild-widget!
- modify-webhook!
- modify-webhook-with-token!
- remove-guild-ban!
- remove-guild-member!
- remove-guild-member-role!
- remove-thread-member!
- search-guild-members!
- send-message!
- spec-ns
- start-connection!
- start-thread-with-message!
- start-thread-without-message!
- stop-connection!
- sync-guild-integration!
- trigger-typing-indicator!
discljord.messaging.impl
Implementation namespace for `discljord.messaging`.
Public variables and functions:
discljord.snowflakes
Contains utility functions to parse, deconstruct and create [snowflake ids](https://discord.com/developers/docs/reference#snowflakes).
Public variables and functions: