ex_mustang v0.2.0 ExMustang.Utils

Module consisting of all the convenience functions for ExMustang to operate

Summary

Functions

Gets the channel ID from channel name

Gets the list of channels for Slack from Hedwig.Adapters.Slack process state

Send a %Hedwig.Message{} struct through the robot process

Functions

channel_id(name)
channel_id(String.t) :: String.t | nil

Gets the channel ID from channel name

channels()

Gets the list of channels for Slack from Hedwig.Adapters.Slack process state

send(msg)
send(%Hedwig.Message{matches: term, private: term, ref: term, robot: term, room: term, text: term, type: term, user: term}) :: :ok

Send a %Hedwig.Message{} struct through the robot process

useragent()