version variable

This commit is contained in:
NormalParameter 2022-03-13 13:23:36 +01:00
parent cc79330569
commit 3027bd8e6c

View File

@ -11,6 +11,8 @@ from telebot import types
user_list = []
version = "1.5"
class User: # Currently saving users in this class to test functionality -> later database
def __init__(self, p_user_id, p_user_name, p_chat_id):
self.user_id = int(p_user_id)
@ -33,7 +35,7 @@ def send_start(message):
@bot.message_handler(commands=['version'])
def send_version(message):
bot.reply_to(message, "1.5")
bot.reply_to(message, version)
@bot.message_handler(commands=['help']) # /help -> sending all functions