unixporn / robbb

The main bot for the r/unixporn discord server!
MIT License
133 stars 19 forks source link

Editing & Undoing for warns and notes #2

Closed eepykate closed 2 years ago

eepykate commented 3 years ago

by elkowar: https://github.com/unixporn/trup/issues/58

The warn and note commands should have a !note undo / !warn undo command to remove the latest warn / note.

lidl:

Instead of !note undo I think it would be better to do !note undo . For this we would need !note to show notes together with their IDs, but the IDs are pretty long so we should just show the last 3 or 4 characters and use that in !note undo

elkowar commented 3 years ago

for now we have !note undo <name> which undoes the latest note (and the same for warn). I'm not sure if ID stuff is actually necessary - when would you want to remove another note than the last one?

eepykate commented 2 years ago

probably fixed by !note undo but that doesn't unlog mutes but meh