Slacker.jl
Index
Slacker.addConfigSlacker.addConfigSlacker.hasConfigSlacker.loadConfigSlacker.readConfigFileSlacker.removeConfigSlacker.removeConfigFileSlacker.sendMessageSlacker.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 textto the configured default slack server or the one specified in cfg.
Slacker.sendMessage — Method.Sends a message textto Server defined in the configuration cfg.