3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-23 19:19:31 +01:00

plugins/example: update word wrap note

As of PyLink 2.0, long paragraphs are automatically word-wrapped by irc.reply().
This commit is contained in:
James Lu 2018-07-10 18:04:05 -07:00
parent bba235bba2
commit 5ffc629bce

View File

@ -44,9 +44,7 @@ def randint(irc, source, args):
# line, even though it is physically written on two.
# - Double line breaks are treated as breaks between two paragraphs, and will be shown
# as distinct lines in IRC.
# Note: you shouldn't make any one paragraph too long, since they may get cut off. Automatic
# word-wrap may be added in the future; see https://github.com/jlu5/PyLink/issues/153
# As of PyLink 2.0, long paragraphs are automatically word-wrapped by irc.reply().
"""[<min> <max>]
Returns a random number between <min> and <max>. <min> and <max> default to 1 and 10