Is there a method in pircbotX to send a message without using the event.respond() method? I was looking at this:
https://github.com/pircbotx/pircbotx/wiki/Documentation#simple-eventrespond and it shows a bot.sendMessage(channel, "Some Message"); method but that method is undefined for the type PircBotX so I assume that documentation is showing how to migrate from PircBot to PircBotX.
What I need to be able to do is send a message on a different trigger. For example, if I hit a button in my program it will send a message in the connected irc channel. I have managed to make a workaround to this limitation but it's quite inefficient and if there is something in the documentation that I overlooked that will allow this behavior it would be much better.