diff --git a/sweebot.py b/sweebot.py index bc3d659..824b3b8 100644 --- a/sweebot.py +++ b/sweebot.py @@ -54,7 +54,7 @@ def lastquery_txt(): @app.route('/docs/config') def config_docs(): return redir("https://git.swee.codes/swee/MeowNex/src/branch/main/docs/config.md") -@app.route('/response/') +@app.route('/response/') def ai_response_truncate(uuidd): if uuidd in responses_ai: res = responses_ai[uuidd] @@ -561,8 +561,8 @@ while True: if num == 5: broke = True break - elif len(i) > 75: - mtline += "\n" + i[:75] + "..." + elif len(i) > 256: + mtline += "\n" + i[:256] + "..." broke = True else: mtline += "\n" + i