Feb 25

I've finally gotten around to tossing Jabber::Bot up on GitHub. There have been several requests in the past few months to add group chat support and other features, and I haven't had time to look into it. I've even had some patches sent via email that I haven't been able to get to (thanks Matt!).

Perhaps the magical powers of GitHub can give Jabber::Bot a new life.

Comments

Hey Brett,

Talk about timing, I just finished implementing this exact same functionality, only slightly differently to you as I couldn't find a similar project online! how peculiar!

Kudos on the real use of block syntax and the likes.. I've taken yours on github (I'll push mine up tomorrow) and blown the commands out into individual files.

Sufficed to say I threw my work away and am using yours :)

Executing system commands syntax?

Hi Brett,
i am working on a bot for a project, and am trying to get it to run certain scripts as commands and return the output. Simple example: netstat -an | grep LISTEN

I have been head against wall for a while now, but no luck. Is there a method to do this from the bot config?

Re: Executing system commands syntax?

Have you tried using backticks to execute shell commands?


bot.add_command( ... ){ `netstat -an | grep LISTEN` }

Further comments on this article have been disabled.