Well no, that's not how the library will be doing it.
I suppose I could create an IReadableMessagingContext
and IWriteableMessagingContext
, where IReadableMessagingContext
is IRC client getting messages from users, then IWriteableMessagingContext
is the bot sending messages to the IRC client.
But some of the messages will be triggered by events.
I.e. a commit posted to GitHub.
Which will post back to a REST API endpoint, that will parse the commit details and add a message to a SQL table for the bot to pick up.
Then the bot will forward that message to whatever location it belongs at.