Благодарю за проделанную работу но теперь это
Traceback (most recent call last):
File "C:\Users\kiril\OneDrive\Рабочий стол\бот по геншину\echo_bot.py", line 19, in
bot.pulling(none_stop = True)
AttributeError: 'TeleBot' object has no attribute 'pulling'. Did you mean: 'polling'?
Traceback (most recent call last):
File "C:\Users\kiril\OneDrive\Рабочий стол\бот по геншину\echo_bot.py", line 7, in
@bot.message(commands=['start'])
AttributeError: 'TeleBot' object has no attribute 'message'
теперь так
Traceback (most recent call last):
File "C:\Users\kiril\OneDrive\Рабочий стол\бот по геншину\echo_bot.py", line 2, in
from telebot import types
File "C:\Users\kiril\AppData\Local\Programs\Python\Python310\lib\site-packages\telebot\types.py", line 10, in
from telebot import util
File "C:\Users\kiril\AppData\Local\Programs\Python\Python310\lib\site-packages\telebot\util.py", line 141
def async():
^^^^^
SyntaxError: invalid syntax