Mercurial > prosody-modules
comparison mod_pastebin/README.md @ 6334:ad9026b6a714
mod_pastebin: Add pastebin_ignore option, to allow suppressing pastebin behaviour (thanks Zaak)
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Fri, 03 Oct 2025 11:24:42 +0100 |
| parents | fe0a58b863db |
| children | 1f00618ad3be |
comparison
equal
deleted
inserted
replaced
| 6333:8a47791338fc | 6334:ad9026b6a714 |
|---|---|
| 81 Option Description | 81 Option Description |
| 82 ------------------------- ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | 82 ------------------------- ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 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_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. |
| 87 | 88 |
| 88 # Compatibility | 89 # Compatibility |
| 89 | 90 |
| 90 ------- ---------------------- | 91 ------- ---------------------- |
