cinchrb / cinch

The IRC Bot Building Framework
http://www.rubydoc.info/gems/cinch
MIT License
1k stars 180 forks source link

How to send "/me" message? #221

Closed bazz1tv closed 8 years ago

bazz1tv commented 8 years ago

I am having trouble learning how to do this. Thanks in advance

bazz1tv commented 8 years ago

I think I found it. action_reply or action?

petertseng commented 8 years ago

Yes, you are correct that http://www.rubydoc.info/gems/cinch/Cinch/Message#action_reply-instance_method can work. There is also http://www.rubydoc.info/gems/cinch/Cinch/Target#action-instance_method so you can do Channel('#test').action('waves') or User('joe').action('waves') and the bot will wave in-channel or in PM to that user.

bazz1tv commented 8 years ago

Thank you!