Allow using icon_emoji
Opened this issue · 0 comments
cowboy commented
Per https://api.slack.com/methods/chat.postMessage icon_url
or icon_emoji
can be specified for a message.
Proposal: if the SlackBot icon
option matches /^:.+:$/
set icon_emoji
, otherwise set icon_url
inside postMessageOptions