diff options
| author | huker667 <huker@tuta.io> | 2026-07-16 13:18:52 +0300 |
|---|---|---|
| committer | huker667 <huker@tuta.io> | 2026-07-16 13:18:52 +0300 |
| commit | 00b9814f6e4d0ec77d52ba2d40cdfa1acb92b3ff (patch) | |
| tree | d89126b24d19a03366b215a68801ac0f8cafd354 | |
| parent | 66038368a6dbefbb8a8559464ff92abafa0b708c (diff) | |
| download | uzbekgpt-00b9814f6e4d0ec77d52ba2d40cdfa1acb92b3ff.tar.gz uzbekgpt-00b9814f6e4d0ec77d52ba2d40cdfa1acb92b3ff.tar.bz2 uzbekgpt-00b9814f6e4d0ec77d52ba2d40cdfa1acb92b3ff.zip | |
add nostream flag
| -rw-r--r-- | supergenerator.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/supergenerator.py b/supergenerator.py index 19c235d..3695da1 100644 --- a/supergenerator.py +++ b/supergenerator.py @@ -239,9 +239,9 @@ async def generate( f"2. конфиг бота настроен неправильно и надо связаться с тем кто его хостит" return text - if stream_cf == "native" and user_id == chat_id: + if stream_cf == "native" and user_id == chat_id and settings.get("nostream") == False: stream = True - elif stream_cf == "edit" and chat_id and message_id: + elif stream_cf == "edit" and chat_id and message_id and settings.get("nostream") == False: stream = True else: stream = False |