Bot should be working now
This commit is contained in:
parent
1b10cec745
commit
84f9777e0f
@ -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'))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user