Sashenka is a software for building IRC bots and clients using J2EE Servlet container and framework.
The software offers an object-oriented framework for managing IRC traffic. It is possible to build an IRC client with Sashenka's utility classes, but considering the number of clients already available, it is not recommended. The primary use of Sashenka is the bot framework constructed on top of the IRC framework.
The distribution includes the j2ee.jar from the 1.2.1 J2EE SDK for convenience, but users are still encouraged to use their own copy as it may not work well with their runtime. To build the software, Java SE SDK 1.4+ and Java EE jar are required.
To run the software, navigate to the source directory and enter the command: "make classes" followed by "make jar." The resulting jar file is run using the command: "java-classpath src/sashenka.jar:lib/j2ee.jar -Dsashenka.Sashenka.nick=botnick '-Dsashenka.Sashenka.channel=#sashenka' '-Dsashenka.Sashenka.modules=forecast/sashenka.modules.WeatherServlet time/sashenka.modules.TimeServlet google/sashenka.modules.GoogleServlet dictionary/sashenka.modules.DictionaryServlet'"
This will initiate the Sashenka runtime, connecting to irc.example.com on port 6667, logging in under the name "botnick," and joining the channel "#sashenka." Multiple modules can be loaded into the same bot, with each module deciding whether or not to respond to a given command. The use of quotes is necessary to ensure the proper execution of the command.
Version 3.3: N/A