version variable
This commit is contained in:
parent
cc79330569
commit
3027bd8e6c
@ -11,6 +11,8 @@ from telebot import types
|
|||||||
|
|
||||||
user_list = []
|
user_list = []
|
||||||
|
|
||||||
|
version = "1.5"
|
||||||
|
|
||||||
class User: # Currently saving users in this class to test functionality -> later database
|
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):
|
def __init__(self, p_user_id, p_user_name, p_chat_id):
|
||||||
self.user_id = int(p_user_id)
|
self.user_id = int(p_user_id)
|
||||||
@ -33,7 +35,7 @@ def send_start(message):
|
|||||||
|
|
||||||
@bot.message_handler(commands=['version'])
|
@bot.message_handler(commands=['version'])
|
||||||
def send_version(message):
|
def send_version(message):
|
||||||
bot.reply_to(message, "1.5")
|
bot.reply_to(message, version)
|
||||||
|
|
||||||
|
|
||||||
@bot.message_handler(commands=['help']) # /help -> sending all functions
|
@bot.message_handler(commands=['help']) # /help -> sending all functions
|
||||||
|
Loading…
x
Reference in New Issue
Block a user