From 3fe47510e7bf0212161a11afcf2f59779b015866 Mon Sep 17 00:00:00 2001 From: BuildTools Date: Tue, 5 Jul 2022 00:57:27 -0400 Subject: [PATCH] more buffer for our chunks --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index f236023..8711dce 100644 --- a/main.py +++ b/main.py @@ -50,7 +50,7 @@ class bird_inst(): def handle_message(self, ctx): print("btw i just got this", ctx["data"]["message"]) mesg = ctx["data"]["message"] - chunks = list(mesg[0+i:500+i] for i in range(0, len(mesg), 500)) + chunks = list(mesg[0+i:400+i] for i in range(0, len(mesg), 400)) for m in chunks: self.irc.sendraw(privmsg.build(self.config["irc_nick"], self.config["irc_chan"], ctx["name"]+": "+m).msg) def handle_avatar(self, ctx): pass