ayn2op / discordo

A lightweight, secure, and feature-rich Discord terminal client.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature Request: Implement substitute command to edit messages

MysticAx0lotl opened this issue · comments

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.