Working for all isins and new requirements #144

Merged
FlorianKellermann merged 13 commits from bot into main 2022-05-08 08:44:02 +00:00
Showing only changes of commit 09e56d2309 - Show all commits

View File

@ -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'])