Version element in bot
This commit is contained in:
parent
84f9777e0f
commit
cc79330569
@ -30,6 +30,10 @@ def send_start(message):
|
||||
user_list.append(new_user)
|
||||
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user