fmnisme / err-stackstorm

a plugin for stackstorm
Apache License 2.0
15 stars 4 forks source link

user not mentioned with reply #13

Closed bartwalczak1 closed 7 years ago

bartwalczak1 commented 7 years ago

When direct messaging bot on slack it is possible to extract api_user from the execution through {{execution.context.api_user}} this field looks like so from the backend: u'api_user': u'@bwalczak',

When same message is sent from channel, bot is unable to mention user hence the reply: 'api_user': u'#botroom/bwalczak',

nzlosh commented 7 years ago

Thanks @bartwalczak1 for reporting this problem. There may need to be special treatment for strings formatted with #botroom/user. I'll look at how the identification is handled by errbot.

nzlosh commented 7 years ago

@bartwalczak1 The patch has been merged so I'll close this ticket.