Version element in bot
This commit is contained in:
parent
84f9777e0f
commit
cc79330569
@ -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.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
|
@bot.message_handler(commands=['help']) # /help -> sending all functions
|
||||||
def send_welcome(message):
|
def send_welcome(message):
|
||||||
|
Loading…
Reference in New Issue
Block a user