Home

Slacker.jl

Index

Slacker.jl is a package that allows sending messages to Slack. It was designed to in form a group of users, when a computation has finished.

Functions

Slacker.addConfigFunction.

Add a Slack server configuration to the registry. Multiple servers can be defined by adjusting the name parameter.

Examples

julia> addConfig(SlackConfig("server.url", "username", "#channel", ":smile:"))
source
Slacker.addConfigMethod.

Add a Slack server configuration to the registry. Shorthand to create a configuration that posts to the random channel (uses Juliabot and :ghost: as defaults).

Examples

julia> addConfig("server.url", "config_name")
source
Slacker.hasConfigFunction.

Tests whether a configuration exists

source
Slacker.loadConfigFunction.

Load the default configuration from the registry. Other configurations may be loaded by specifying the name parameter.

source

Load the registry and return all registered servers as a Dict.

source

removes an individual configuration call with parameter "default" to delete the default configuration

source

Deletes the whole registry from the computer.

source
Slacker.sendMessageFunction.

Sends a message textto the configured default slack server or the one specified in cfg.

source

Sends a message textto Server defined in the configuration cfg.

source