hubot-flowdock icon indicating copy to clipboard operation
hubot-flowdock copied to clipboard

res.emote doesn't appear to work

Open lwcooper opened this issue 10 years ago • 3 comments
trafficstars

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"

lwcooper avatar Jul 13 '15 00:07 lwcooper

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.

Mumakil avatar Jul 13 '15 11:07 Mumakil

Ill give that a try and submit a PR if I get it working

lwcooper avatar Jul 13 '15 19:07 lwcooper

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.

csMACnz avatar Sep 19 '16 17:09 csMACnz