base logic
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import telebot
|
||||
import config
|
||||
import threading
|
||||
|
||||
bot = telebot.TeleBot(
|
||||
config.BOT_TOKEN,
|
||||
colorful_logs=True,
|
||||
)
|
||||
|
||||
threading.Thread(
|
||||
target=bot.infinity_polling,
|
||||
name="bot_infinity_polling",
|
||||
daemon=True,
|
||||
).start()
|
||||
Reference in New Issue
Block a user