flashgnash / ordis

GNU General Public License v3.0
1 stars 0 forks source link

Clear chat command #27

Open flashgnash opened 1 month ago

flashgnash commented 1 month ago

Would be useful to have a command to bulk delete messages

Use cases:

/delete_messages since 5m /delete_messages since 17:30

/delete_messages from @flashgnash

At a stretch both since and from should be specifiable at the same time, but I'm not sure how to implement that yet

flashgnash commented 1 month ago

There's always the option of having the only parameter be a string, and parse from that

For example /delete messages "since:5m from:@flashgnash" however this is not intuitive and will not autocomplete

The other option is having it be one command with Option<>s for each field, which is likely what I'll do