start coding
This commit is contained in:
10
main.py
Normal file
10
main.py
Normal 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)
|
||||
Reference in New Issue
Block a user