Implementations of various MetaBot commands.
Implementations of various MetaBot commands.
(command command & args)
Run a MetaBot command.
This multimethod provides implementations of the various MetaBot commands. Slack messages that are interpreted as MetaBot commands are split into tokens and passed to this method, e.g.
[In Slack] User: metabot show 100
[In Metabase] (command "show" 100) ; -> [some results]
[In Slack] MetaBot: [some results]
The first argument is the command name, and that name, as a lower-cased keyword, is used as the dispatch value for this multimethod.
The results are normally immediately posted directly to Slack; some commands also post additional messages
asynchronously, such as show
.
Run a MetaBot command. This multimethod provides implementations of the various MetaBot commands. Slack messages that are interpreted as MetaBot commands are split into tokens and passed to this method, e.g. [In Slack] User: metabot show 100 [In Metabase] (command "show" 100) ; -> [some results] [In Slack] MetaBot: [some results] The first argument is the command name, and that name, as a lower-cased keyword, is used as the dispatch value for this multimethod. The results are normally immediately posted directly to Slack; some commands also post additional messages asynchronously, such as `show`.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close