Working for all isins and new requirements #144
@ -41,10 +41,10 @@ print("Webserver Token: " + str(api_handler.token))
|
||||
|
||||
bot = telebot.TeleBot(os.getenv('BOT_API_KEY'))
|
||||
|
||||
@bot.message_handler(commands=['start', 'Start']) # /start -> saving as new user and sending welcome
|
||||
@bot.message_handler(commands=['start', 'Start'])
|
||||
def send_start(message):
|
||||
|
||||
""" Description
|
||||
""" Sending welcome message to new user
|
||||
:type message: message object bot
|
||||
:param message: message that was reacted to, in this case always containing '/start'
|
||||
|
||||
@ -52,7 +52,10 @@ def send_start(message):
|
||||
|
||||
:rtype: none
|
||||
"""
|
||||
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. \
|
||||
\nType /help to get information on what this bot can do. \
|
||||
\nAlso see https://gruppe1.testsites.info \
|
||||
to start configuring your bot")
|
||||
|
||||
|
||||
@bot.message_handler(commands=['version', 'Version'])
|
||||
|
Loading…
Reference in New Issue
Block a user