Allow using icon_emoji
cowboy opened this issue · comments
Ben Alman 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