ptgbot/ptgbot
James E. Blair 4d6c4dc7b5 Split long lines
Use textwrap to they are split on word boundaries.  400 characters
is used as an approximation of a safe line length without dealing
with the complexity of determining the exact value for specific
conditions.  In practice, we've seen lines truncated at 435 chars.

We sleep between issuing chunks, however, we sleep less than the
normal flood protection interval so the bot still appears responsive.

Change-Id: I87d26228f0e025d911b29a1662a069a2b6d0e497
2018-02-26 20:08:38 +00:00
..
__init__.py Initial commit 2017-04-18 14:21:26 +02:00
bot.py Split long lines 2018-02-26 20:08:38 +00:00
db.py Allow everyone to issue track moderator commands 2018-02-13 16:49:55 +01:00