mirror of
https://github.com/jeremyd/ergo.git
synced 2026-07-26 09:08:11 -07:00
Implement draft/message-redaction (#2065)
* Makefile: Add dependencies between targets * Implement draft/message-redaction for channels Permission to use REDACT mirrors permission for 'HistServ DELETE' * Error when the given targetmsg does not exist * gofmt * Add CanDelete enum type * gofmt * Add support for PMs * Fix documentation of allow-individual-delete. * Remove 'TODO: add configurable fallback' slingamn says it's probably not desirable, and I'm on the fence. Out of laziness, let's omit it for now, as it's not a regression compared to '/msg HistServ DELETE'. * Revert "Makefile: Add dependencies between targets" This reverts commit 2182b1da69ceaafad30859e45be0645d6c915b2c. --------- Co-authored-by: Val Lorentz <progval+git+ergo@progval.net>
This commit is contained in:
@@ -435,6 +435,12 @@ Replies to a PING. Used to check link connectivity.`,
|
||||
text: `PRIVMSG <target>{,<target>} <text to be sent>
|
||||
|
||||
Sends the text to the given targets as a PRIVMSG.`,
|
||||
},
|
||||
"redact": {
|
||||
text: `REDACT <target> <targetmsgid> [<reason>]
|
||||
|
||||
Removes the message of the target msgid from the chat history of a channel
|
||||
or target user.`,
|
||||
},
|
||||
"relaymsg": {
|
||||
text: `RELAYMSG <channel> <spoofed nick> :<message>
|
||||
|
||||
Reference in New Issue
Block a user