@fitheach should integrate into an IM client (e.g. slack) as a bot. So you could say do @cheat sed delete pattern
or even fosstodon integration 🙂
Used Slack a few times through necessity, but no experience of bots.
However, as you can control cheat.sh through curl or CLI then you can do anything using the typical *nix text processing tools, including sed.
What would the use case be for doing it through a Mastodon client?
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!