Hello everyone. So, I am making a simple bot (for now) and, as the title suggests, have two simple questions.
1. Can a PircBotX bot be run on multiple servers at once? I would think two .addServer() methods in the configuration builder would achieve this, but no.
2. I would like my bot to sometimes be able to send a message or perform another action without a trigger from another user or bot beforehand. In order for a PircBotX bot to send a message to a channel, it relies on the MessageEvent from the onMessage() method or other method, as opposed to the sendMessage() method in PircBot working at any time, even in user-defined methods. So let's say I want the bot to say something on its own without an Event being present; how would I go about doing this? (I'm also asking on behalf of someone else I know who is wondering the same thing).
-Xyspade