@ -91,7 +91,7 @@ class Bot:
candidates.append(reply)
print("Accepting reply.")
reply = max(candidates, key=utils.reply_length)
reply = max(candidates, key=lambda r: min(utils.reply_length(r, 500)))
self.client.reply(reply, comment)