问题
Does any one know of a good irc bot written in perl?
I just need a simple one that logs on to said channel, then replies things based on what the user says.
e.g.
The user:
<tgwizman> !time
The bot replies
<BlahBot> The time is 4:38:54 AM
回答1:
Bot::BasicBot CPAN distribution contains several example bots. Projects Using POE page contains lists of POE-based IRC bots. See also answers here: CHATBOT: Programming a chatbot with Perl
回答2:
Last time I made an IRC bot I used AnyEvent::IRC::Client. The example there can be used to start developing your own bot.
Also Net::IRC page suggests some alternatives.
来源:https://stackoverflow.com/questions/6122000/need-some-info-on-irc-bots-using-perl