Wrong file...lost
This commit is contained in:
parent
3027bd8e6c
commit
fc42b1de4e
@ -13,6 +13,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,6 +35,10 @@ def send_start(message):
|
|||||||
|
|
||||||
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. Type /help to get information on what this bot can do")
|
||||||
|
|
||||||
|
@bot.message_handler(commands=['version'])
|
||||||
|
def send_version(message):
|
||||||
|
bot.reply_to(message, version)
|
||||||
|
|
||||||
|
|
||||||
@bot.message_handler(commands=['help']) # /help -> sending all functions
|
@bot.message_handler(commands=['help']) # /help -> sending all functions
|
||||||
def send_welcome(message):
|
def send_welcome(message):
|
||||||
|
Loading…
Reference in New Issue
Block a user