Skip to content

Commit

Permalink
use icon_emoji (#2)
Browse files Browse the repository at this point in the history
* use icon_emoji

* iconEmoji
  • Loading branch information
orthagonal authored and jgallen23 committed Feb 24, 2017
1 parent 6b7e76e commit a56d3b9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ class Post2Slack {
if (this.config.iconURL) {
slackPayload.icon_url = this.config.iconURL;
}
if (this.config.iconEmoji) {
slackPayload.icon_emoji = this.config.iconEmoji;
}
if (this.config.username) {
slackPayload.username = this.config.username;
}
Expand Down

0 comments on commit a56d3b9

Please sign in to comment.