cinchrb / cinch

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

Add action_reply convenience method #97

Closed gentlejolt closed 11 years ago

gentlejolt commented 12 years ago

Added action_reply and safe_action_reply.

Safe_action_reply probably won't get much use but.. eh, there's a safe_reply so why not?

I had considered giving action_reply a 'postfix' option like reply has 'prefix' so you could do m.action_reply "pokes", true.... for * cinchbot pokes nickname.... but that seemed like taking it too far. It's easy to get the nick and put it where you want which might not be at the end of the message.

Thoughts?

dominikh commented 11 years ago

Merged into master.