Slacker.jl
Index
Slacker.addConfig
Slacker.addConfig
Slacker.hasConfig
Slacker.loadConfig
Slacker.readConfigFile
Slacker.removeConfig
Slacker.removeConfigFile
Slacker.sendMessage
Slacker.sendMessage
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.addConfig
— Function.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:"))
Slacker.addConfig
— Method.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")
Slacker.hasConfig
— Function.Tests whether a configuration exists
Slacker.loadConfig
— Function.Load the default configuration from the registry. Other configurations may be loaded by specifying the name
parameter.
Slacker.readConfigFile
— Method.Load the registry and return all registered servers as a Dict.
Slacker.removeConfig
— Method.removes an individual configuration call with parameter "default" to delete the default configuration
Slacker.removeConfigFile
— Method.Deletes the whole registry from the computer.
Slacker.sendMessage
— Function.Sends a message text
to the configured default slack server or the one specified in cfg
.
Slacker.sendMessage
— Method.Sends a message text
to Server defined in the configuration cfg
.