开发者

Testing an IRC bot [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 11 years ago.

I am writing an IRC bot in Python using the Twisted library. To test my bot I need to connect several times to an IRC network as my bot requires a restart each time a change is made. Therefore I am o开发者_开发技巧ften "banned" from these networks for a couple of minutes because I have made a lot of connections. This makes it annoying testing and writing the bot. Does anyone know of a better way to test the bot or any network which isn't as restrict with the amount of connections as QuakeNet is?


You can install UnrealIRCd (it's an irc server) on your local machine and test your bot with it. Any network will ban you if you keep reconnecting all the time. Plus working against a local server will speed up the connection times alot.

There are a bunch of other irc servers out there.

+1 for supy bot.


freenode is good.. You can create channels for yourself to test. Also check out this project called supybot, which is good for Python bots.


You can take the undernet ircu from http://coder-com.undernet.org and, before compiling it, add #define NOTHROTTLE to ircd_defs.h. This will remove any connection throttling so you can test your bot as much as you want.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜