fixed /start

This commit is contained in:
Linus E 2022-04-25 18:59:06 +02:00
parent 0f4d4e5624
commit 7785fd6368

View File

@ -80,14 +80,6 @@ def send_start(message):
:rtype: none
"""
new_user = User(int(message.from_user.id), message.from_user.first_name, int(message.chat.id)) # now Database driven CHANGE
existing_already = False
for known_user in user_list:
if known_user.user_id == new_user.user_id:
existing_already = True
if existing_already == False:
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")