ayn2op / discordo

A lightweight, secure, and feature-rich Discord terminal client.
MIT License
2.02k stars 63 forks source link

Feature Request: Implement substitute command to edit messages #340

Open MysticAx0lotl opened 7 months ago

MysticAx0lotl commented 7 months ago

A little-known(?) feature of Discord is that is supports the substitute command s/ featured in early text editors. For example, if you were to send a message reading "car", and then type "s/r/t", the message would now read "cat", as the command is told to replace the first occurrence of "r" with "t" (this does support more than one letter and even full sentences, it simply replaces what's after the first slash with what's after the second slash). Since discordo currently has no way to edit messages, I thought this would be an intuitive way to solve that while still sticking to the overall nature and goal of the project.

apprehensions commented 7 months ago

314