I don’t know about Slack, but discord’s terms of service explicitly forbid external chat clients. It’s also proprietary, like Slack I believe. Maybe we should try and encourage more use of open protocols over things like Discord or Slack.
I don't like it and barely use it, but a couple of times a year I need to monitor certain groups, so I have a Franz tab which frames the webapp.