Liking cljdoc? Tell your friends :D

discord-bot.clients.discord.ws


build-identify-payloadclj

(build-identify-payload intents)

call-heartbeatclj

(call-heartbeat & [override])

close-connectionclj

(close-connection)

get-presencesclj

(get-presences)

get-user-by-idclj

(get-user-by-id user-id)

get-ws-connectionclj

(get-ws-connection)

handle-channel-createclj

(handle-channel-create data & [callback])

handle-channel-deleteclj

(handle-channel-delete data & [callback])

handle-defaultclj

(handle-default data & [callback])

handle-messageclj

(handle-message msg opts)

handle-message-createclj

(handle-message-create data & [callback])

handle-message-updateclj

(handle-message-update data & [callback])

handle-presence-updateclj

(handle-presence-update data & [callback])

handle-session-resumedclj

(handle-session-resumed data)

handle-typing-startclj

(handle-typing-start data & [callback])

heartbeat-semaforclj


heartbeat-timerclj


identifyclj

(identify intents)

initializeclj

(initialize & [opts resume?])

intentionally-disconnectedclj


on-connectclj

(on-connect resume? {:keys [intents]} & _)

on-errorclj

(on-error e)

receive-eventclj

(receive-event {data :d event-name :t event-index :s}
               {:keys [on-message-create on-presence-update on-typing-start
                       on-channel-create on-channel-delete on-voice-state-update
                       on-message-update on-message-reaction-add
                       on-guild-member-update on-guild-member-remove
                       on-guild-role-delete on-interaction-create]})

reconnect?clj

(reconnect? close-code)

reset-state!clj

(reset-state!)

resume-sessionclj

(resume-session)

server-stateclj


sessionclj


start-heartbeatclj

(start-heartbeat interval)

started-new-game?clj

(started-new-game? current-game new-game)

stopclj

(stop)

the-optsclj


ws-connectionclj


ws-sendclj

(ws-send payload)

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close