Easily create bots with automated safety features using this software. Enjoy enhanced bot management and security with no programming required. Customize your bot's behavior and settings in a user-friendly interface.
As a user, you only need to know and define three things in the program away from the object: config, a subroutine to be called when a new message comes in, and a subroutine to be called periodically that lets you perform background activities like monitoring web pages or checking logs.
The object already has a variety of enforced safeties in place. These safeties ensure that your bot doesn't overwhelm the Jabber server with messages, get stuck in endless loops, or produce unwanted historical messages. For instance, the software limits messages per second (the maximum is 5 per second) by requiring a sleep timer every time a message is sent. Additionally, the bot message processing subroutine won't handle messages from self to prevent endless loops, and the software includes a forum join grace period that ensures your bot doesn't react to historical messages.
The bot object also includes configurable aliases your bot will respond to per forum and limits the maximum message size (the largest configurable message size limit is 1000). The software automatically chunks messages to split up large messages in the sending subroutine, and it includes a limit on messages per hour (the maximum configurable limit of 125). When the message limit is reached for that hour, the software logs any additional messages but won't send them.
Finally, the software makes it easy to check on messages via log4perl, which is incredibly helpful when debugging any issues that arise. Overall, Net::Jabber::Bot is a powerful and worthwhile tool for anyone looking to create bots without spending hours learning the intricacies of the Jabber protocol.
Version 2.1.4: N/A