import schedule
import time
token = "..."
bot = telebot.Telebot(token)
@bot.message_handler(command = ["start"])
def start_func(message):
bot.send_message(message.chat.id, "hello")
schedule.every( 2).seconds.do(start_func)
while True:
schedule.run_pending()
time.sleep(1)
bot.polling()