Liking cljdoc? Tell your friends :D

discord.extensions.core


add-handler!clj

(add-handler! handler-fn)

Registers a new message handler. The handler, handler-fn, should be a function of 3 arguments where the first argument is the bot's prefix, the second is the Discord gateway and the third is the message in the Discord text channel.

Registers a new message handler. The handler, handler-fn, should be a function of 3 arguments
where the first argument is the bot's prefix, the second is the Discord gateway and the third
is the message in the Discord text channel.
sourceraw docstring

clear-handlers!clj

(clear-handlers!)
source

command->invocationclj

(command->invocation cmd modules)
source

CommandInvocationclj

source

execute-invocationclj

(execute-invocation invocation gateway message)
source

get-clojure-filesclj

(get-clojure-files folder)

Given a directory, returns all '.clj' files in that folder.

Given a directory, returns all '.clj' files in that folder.
sourceraw docstring

install-prefix-commands!clj

(install-prefix-commands! & new-modules)
source

installed-prefix-commandsclj

source

load-clojure-files-in-folder!clj

(load-clojure-files-in-folder! folder)

Given a directory, loads all of the .clj files in that directory tree. This can be used to dynamically load extensions defined with defextension or manually calling register-extension! out of a folder.

Given a directory, loads all of the .clj files in that directory tree. This can be used to
dynamically load extensions defined with defextension or manually calling register-extension!
out of a folder.
sourceraw docstring

load-module-folders!clj

(load-module-folders!)
source

message-handlersclj

source

prefix-commandcljmacro

(prefix-command command & fn-tail)
source

prefix-command-treeclj

(prefix-command-tree module-name & children)
source

register-builtins!clj

(register-builtins!)
source

reload-all-commands!clj

(reload-all-commands! gateway message)
source

reset-installed-prefix-commands!clj

(reset-installed-prefix-commands!)
source

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

× close