# \[ANN\] Autumn 2.0: Easy, fresh, powerful IRC bots

**URL:** <https://www.ruby-forum.com/t/ann-autumn-2-0-easy-fresh-powerful-irc-bots/130612>\
**Category:** Ruby\
**Created:** [February 29, 2008, 8:17pm UTC](https://www.ruby-forum.com/t/ann-autumn-2-0-easy-fresh-powerful-irc-bots/130612 "2008-02-29T20:17:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![enchanter](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/ce7236/32.png) [@enchanter](https://www.ruby-forum.com/u/enchanter)\
**Post date:** [February 29, 2008, 8:17pm UTC](https://www.ruby-forum.com/t/ann-autumn-2-0-easy-fresh-powerful-irc-bots/130612/1 "2008-02-29T20:17:33Z")

</div>

Autumn 2.0 has arrived! This all-new version of Autumn Leaves, the IRC  
bot framework for Ruby, is much more powerful, while still being fun and  
easy to use. Autumn 2.0 includes an entirely new IRC library, written  
from scratch for Autumn. Writing a bot is still as simple as:

class MyBot \< Autumn::Leaf  
def awesome\_command(stem, sender, channel, msg)  
return “#{sender[:nick]} is awesome!”  
end  
end

Autumn 2.0 also includes ActiveRecord-like database support with the use  
of the DataMapper gem. Now your leaves can have powerful access to  
databases in the same way your Rails apps do:

class MyBot \< Autumn::Leaf  
def awesome\_command(stem, sender, channel, msg)  
if AwesomeUser.find :name =\> sender[:nick] then  
return “You are awesome!”  
else  
return “Sorry, you’ll be awesome some day!”  
end  
end  
end

And don’t forget filters!

before\_filter :authenticate, :only =\> [:reload, :quit]

I’ve added a lot to Autumn 2.0, from full-featured CTCP support to a  
completely new development environment featuring rake tasks and  
script/generate actions just like Rails. Under the hood it’s a  
completely new engine, with multithreading, support for multiple bots  
off one nick and multiple nicks off one bot, and a whole extensible  
framework for making your IRC support bigger and better.

For complete details, visit Autumn’s home page at  
[http://code.google.com/p/autumn-leaves/](http://code.google.com/p/autumn-leaves/)  
API docs are at [http://www.mechanical-squirrel.com/autumn-docs/](http://www.mechanical-squirrel.com/autumn-docs/)

Tim M.
