start coding

This commit is contained in:
Mikhail Shahovalov
2025-03-16 01:02:04 +03:00
parent 860acb368c
commit d8250f17cb
7 changed files with 62 additions and 1 deletions

10
main.py Normal file
View File

@@ -0,0 +1,10 @@
import telebot
from configurations import BotSettings
bot = telebot.TeleBot(BotSettings.Token)
@bot.message_handler(content_types=['text'])
def get_text_messages(message):
bot.send_message(message.chat.id, 'Привет, я бот для управления серверами')
bot.polling(none_stop=True, interval=0)