Posts Tagged ‘cakebot’

Checking out the CakeBot

I had a spare moment which is very rare and immediately took the opportunity to do what I wanted to do for ages… Check out the CakeBot!

With a couple of friends we have our own IRC server and I wanted more flexibility then the modules they use now.
CakeBot is an IRC bot written in cake and you can check it out at https://svn.cakefoundation.org/irc/branches/cakebot_1.0.x.x. I think achew22 and kabturek wrote the cakeBot but not sure.

The most of you people who has been on IRC channel of CakePHP knows what it is but here are some of the features when checked out on your own server:

  • It has a web interface to add users, channels and tells.
  • Web interface for the logs for each channel and can be searched
  • Adding commands (= hooks) is as easy as writing simple shell tasks
  • Adding simple commands by everyone to the database (~tell)

Some disadvantages I’ve encountered:

  • ~help, ~seen and ~forget commands are not Tasks but are in the Bot Task.
  • Passing the channel name and other params from the Bot to the commands is not very easy. Only the params you passed from the client are now available.
  • Missed the users_controllers.php for the web interface

Hacked all that bit still not satisfied abouth passing other parameters that are only available in the bot Task.