Mercurial > prosody-modules
comparison mod_pastebin/README.md @ 6335:1f00618ad3be
mod_pastebin: Document pastebin_html_preview setting (thanks Zaak)
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Fri, 03 Oct 2025 11:31:17 +0100 |
| parents | ad9026b6a714 |
| children | c819b1b5a775 |
comparison
equal
deleted
inserted
replaced
| 6334:ad9026b6a714 | 6335:1f00618ad3be |
|---|---|
| 83 pastebin_threshold Maximum length (in characters) of a message that is allowed to skip the pastebin. (default 500 characters) | 83 pastebin_threshold Maximum length (in characters) of a message that is allowed to skip the pastebin. (default 500 characters) |
| 84 pastebin_line_threshold The maximum number of lines a message may have before it is sent to the pastebin. (default 4 lines) | 84 pastebin_line_threshold The maximum number of lines a message may have before it is sent to the pastebin. (default 4 lines) |
| 85 pastebin_trigger A string of characters (e.g. "!paste ") which if detected at the start of a message, always sends the message to the pastebin, regardless of length. (default: not set) | 85 pastebin_trigger A string of characters (e.g. "!paste ") which if detected at the start of a message, always sends the message to the pastebin, regardless of length. (default: not set) |
| 86 pastebin_ignore A string of characters (e.g. "!nopaste") which if detected **anywhere** within a message, won't send the message to the pastebin | 86 pastebin_ignore A string of characters (e.g. "!nopaste") which if detected **anywhere** within a message, won't send the message to the pastebin |
| 87 pastebin_expire_after Number of hours after which to expire (remove) a paste, defaults to 24. Set to 0 to store pastes permanently on disk. | 87 pastebin_expire_after Number of hours after which to expire (remove) a paste, defaults to 24. Set to 0 to store pastes permanently on disk. |
| 88 pastebin_html_preview Whether to include a formatted preview in pastes (default: true) | |
| 88 | 89 |
| 89 # Compatibility | 90 # Compatibility |
| 90 | 91 |
| 91 ------- ---------------------- | 92 ------- ---------------------- |
| 92 trunk Works as of 25-06-13 | 93 trunk Works as of 25-06-13 |
