Version element in bot

This commit is contained in:
NormalParameter 2022-03-13 13:22:47 +01:00
parent 84f9777e0f
commit cc79330569

View File

@ -31,6 +31,10 @@ def send_start(message):
bot.reply_to(message, "Welcome to this share bot project. Type /help to get information on what this bot can do")
@bot.message_handler(commands=['version'])
def send_version(message):
bot.reply_to(message, "1.5")
@bot.message_handler(commands=['help']) # /help -> sending all functions
def send_welcome(message):