Closed owocki closed 8 years ago
Nevermind, it seems message.channel._client.users[message.body['user']][u'name']
will get me this data.
Thanks for the response @owocki I hadn't realized I could get more than the unique id without hitting the API again.
@kevinsheehan @owocki How to get the slack message sent from the object ?
What is the message object structure for slack bot ?
It'd be great to be able to get the message sender from the
slackbot.dispatcher.Message
object:message.body['user']
is the closest thing I could find, but it's only a unicode ID: