I don't see why you couldn't do the same in a Slack command-line program as well? Not hard to find simple examples of that.
In other words:
- to use the slack APIs, you probably need company level buy in _before_ any code is written against the API from IT folks
- in contrast, with IRC one could just try something out and at some point in the future _maybe_ create a seperate IRC account for it, if your IRC server even has logins enabled. If it doesn't, which when I worked for IBM was the case, one can just pick a new username for the IRC bot.
Due to its simplicity I could see its application as a falback for global communication downtime/outages (as we had with FB/Insta recently).
I remember when the solution to this, when everyone was still working in an office, was "pair of netcats".