IRC is a pain, yes. I made a C library to talk to IRC servers about (oh god) 15 years ago that I then put a perl wrapper around ... it provided a notification engine like the slack notifications I see today. But I had to cull all the hacker in me from 15 years ago to get it working right ... not an easy thing at all.