Fix multipart character cutoff

This commit is contained in:
Zuckerberg 2022-05-03 14:52:36 -04:00
parent c08d3a9fab
commit 22a32841d5

View File

@ -145,7 +145,7 @@ class Drastikbot():
# statement below.
if multipart:
time.sleep(self.var.msg_delay)
tr = m_len - 2 - len(' '.join(cmds).encode('utf-8')) - remainder
tr = m_len - 2 - len(' '.join(cmds).encode('utf-8')) - remainder - 1
t = text.encode('utf-8')[tr:]
self.send(cmds, t)