3
0
mirror of https://github.com/pragma-/pbot.git synced 2024-11-06 03:59:31 +01:00

README.md: minor tweaks

This commit is contained in:
Pragmatic Software 2021-07-15 11:21:33 -07:00
parent 3ba960123f
commit e83eb87724

View File

@ -148,11 +148,11 @@ to instead preserve the newlines and output each line as a distinct message.
#### Truncating long messages #### Truncating long messages
Output that is longer than the maximum length of an IRC message will be pasted, Output that is longer than the maximum length of an IRC message will be pasted,
with all formatting preserved, to a web paste service. The IRC message itself with all formatting preserved, to a web paste service. The IRC message itself
will be truncated, with enough room to append the paste URL to the end. will be truncated, with enough room to append the paste URL.
If `preserve_newlines` is enabled, then if there are more lines available than `max_newlines` When `preserve_newlines` is enabled, if there are more lines available than `max_newlines` then
all the lines will be pasted, with formatting preserved, to a web paste service. PBot will then all of the lines will be pasted, with formatting preserved, to a web paste service. PBot will then
output up to `max_newlines` lines and then output the URL to the paste. output up to `max_newlines` lines as distinct messages and then output the URL to the paste.
### Scripting interface ### Scripting interface
PBot uses [Plang](https://github.com/pragma-/Plang) as a scripting language. You can use the PBot uses [Plang](https://github.com/pragma-/Plang) as a scripting language. You can use the