added file headers and db_handler

This commit is contained in:
Linus Eickhoff 2022-03-15 08:51:34 +01:00
parent ed85a6b723
commit ca06985d51

View File

@ -1,3 +1,13 @@
"""
script for telegram bot and its functions
"""
__author__ = "Florian Kellermann, Linus Eickhoff"
__date__ = "11.03.2022"
__version__ = "0.0.3"
__license__ = "None"
# side-dependencies: none
# Work in Progress # Work in Progress
# Api-Key: 5228016873:AAGFrh0P6brag7oD3gxXjCh5gnLLE8JMvMs # Api-Key: 5228016873:AAGFrh0P6brag7oD3gxXjCh5gnLLE8JMvMs
# text bot at t.me/projektaktienbot # text bot at t.me/projektaktienbot
@ -13,8 +23,6 @@ from telebot import types
user_list = [] user_list = []
version = "0.0.1"
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)