res.emote doesn't appear to work
Opened this issue · 3 comments
lwcooper commented
Can you make hubot emote a message? For example:
This sends as a normal message:
robot.respond /pie/i, (res) ->
res.emote "I like pie"
Outputs /me I like pie
, instead of the blue bar with just 'I like pie'
robot.respond /pie/i, (res) ->
res.send "/me I like pie"
Mumakil commented
Yeah, it seems that by default the emote command is just an alias for send. We'll need to override the emote command and post an action
message with the specified content instead of a regular message
.
lwcooper commented
Ill give that a try and submit a PR if I get it working
csMACnz commented
Anyone figured this out yet? I am looking to implement this in another app using the api and can't seem to find any info.