Need some info on IRC BOTS using PERL

☆樱花仙子☆ 提交于 2019-12-02 17:40:34

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!