diff --git a/redditbot.py b/redditbot.py index 9c0726a..f5c68b7 100644 --- a/redditbot.py +++ b/redditbot.py @@ -253,7 +253,7 @@ async def main(): else: if getattr(random_post, 'selftext', None): text += '\n' - caplength = 4096 - len(client.parse_mode.parse(text)[0]) + caplength = 4095 - len(client.parse_mode.parse(text)[0]) text += html.escape(random_post.selftext[:caplength]) await _start_broadcast([text], None, chats)