Bot should be working now

This commit is contained in:
NormalParameter 2022-03-13 13:20:39 +01:00
parent 1b10cec745
commit 84f9777e0f

View File

@ -14,9 +14,10 @@ from telebot import types
user_list = [] user_list = []
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_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)
self.chat_id = int(p_chat_id) self.chat_id = int(p_chat_id)
self.user_name = str(p_user_name)
bot = telebot.TeleBot(os.getenv('BOT_API_KEY')) bot = telebot.TeleBot(os.getenv('BOT_API_KEY'))