Hey there.
I'm using this bot for some time, but older version. Now i got new server and installed newer bot code, but getting error in telegram channel, while trying to chat with bot:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/telegram/ext/_application.py", line 1104, in process_update
await coroutine
File "/usr/local/lib/python3.8/site-packages/telegram/ext/_handler.py", line 141, in handle_update
return await self.callback(update, context)
File "bot/bot.py", line 481, in message_handle
await task
File "bot/bot.py", line 368, in message_handle_fn
if (datetime.now() - db.get_user_attribute(user_id, "last_interaction")).seconds > config.new_dialog_timeout and len(db.get_dialog_messages(user_id)) > 0:
TypeError: '>' not supported between instances of 'int' and 'str'
Versions conflict related issue?
I composed it on freshly installed debian.
Ty.
Hey there. I'm using this bot for some time, but older version. Now i got new server and installed newer bot code, but getting error in telegram channel, while trying to chat with bot:
JSON:
Python:
Versions conflict related issue? I composed it on freshly installed debian. Ty.