Skip to content

Commit

Permalink
add user email into join notify message.
Browse files Browse the repository at this point in the history
  • Loading branch information
fujiwara committed Feb 4, 2016
1 parent 7ffb6e9 commit 60abff0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ Loop:
} else {
accoutType = "normal"
}
notifyMsg = fmt.Sprintf("<@%s> がチームにjoinしました (%s)", ev.User.ID, accoutType)
notifyMsg = fmt.Sprintf("<@%s> (%s) がチームにjoinしました (%s)", ev.User.ID, ev.User.Profile.Email, accoutType)
case *slack.BotAddedEvent:
notifyMsg = fmt.Sprintf("bot %s が追加されました https://%s.slack.com/services/%s", ev.Bot.Name, domain, ev.Bot.ID)
case *slack.ConnectedEvent:
Expand Down

0 comments on commit 60abff0

Please sign in to comment.