This is a Python-based Telegram bot using the telethon library. The bot responds to messages using the evagpt4 reverse engeneered api from OpenGPT repo
Unhandled exception on addmemory
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/telethon/client/updates.py", line 497, in _dispatch_update
await callback(event)
File "/root/Telegram-Chatbot-Gpt4Free/main.py", line 142, in addmemory
text = event.text.split(' ', 1)[1]
IndexError: list index out of range
Unhandled exception on addmemory Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/telethon/client/updates.py", line 497, in _dispatch_update await callback(event) File "/root/Telegram-Chatbot-Gpt4Free/main.py", line 142, in addmemory text = event.text.split(' ', 1)[1] IndexError: list index out of range