JL
Size: a a a
JL
JL
AT
JL
JL
Traceback (most recent call last):
File "C:\Users\user\Desktop\air-drop.py", line 6, in <module>
bot = telebot.TeleBot('TOKEN')
AttributeError: module 'telebot' has no attribute 'TeleBot'
Каво, тут надо как то по другому все писать? Или я что то не то делаю)AT
Traceback (most recent call last):
File "C:\Users\user\Desktop\air-drop.py", line 6, in <module>
bot = telebot.TeleBot('TOKEN')
AttributeError: module 'telebot' has no attribute 'TeleBot'
Каво, тут надо как то по другому все писать? Или я что то не то делаю)JL
A
Traceback (most recent call last):
File "C:\Users\user\Desktop\air-drop.py", line 6, in <module>
bot = telebot.TeleBot('TOKEN')
AttributeError: module 'telebot' has no attribute 'TeleBot'
Каво, тут надо как то по другому все писать? Или я что то не то делаю)JL
import telebot
from telebot import types
bot = telebot.TeleBot('')
@bot.message_handler(commands=['start'])
def start_message(message):
bot.send_message(message.chat.id, 'Test')
bot.polling()
A
JL

C
import telebot
from telebot import types
bot = telebot.TeleBot('')
@bot.message_handler(commands=['start'])
def start_message(message):
bot.send_message(message.chat.id, 'Test')
bot.polling()
A
A
C
C
A
JL
A