M
M
Max Ivanov2021-05-06 11:32:21
Python
Max Ivanov, 2021-05-06 11:32:21

Who can explain how to fix the problem when starting the bot?

When running the bot, this is the output:
File "main.py", line 2, in
from config import bot, admins, profile, admin_chat, subscribers, likes, help_text, qiwi_text_nickname, QIWI_NUMBER,\
File "/root/bot/config.py" , line 8, in
bot = telebot.TeleBot(main_token, threaded=True, num_threads=300)
TypeError: __init__() got an unexpected keyword argument 'threaded'
Can anyone help?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question