header additions and req update

This commit is contained in:
Linus Eickhoff 2022-03-15 09:05:28 +01:00
parent f1d3fd0050
commit 66b8ae5f34
3 changed files with 13 additions and 2 deletions

View File

@ -21,6 +21,7 @@ import sys
import logging import logging
from telebot import types from telebot import types
bot_version = "0.0.1"
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
@ -45,7 +46,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, version) bot.reply_to(message, bot_version)
@bot.message_handler(commands=['help']) # /help -> sending all functions @bot.message_handler(commands=['help']) # /help -> sending all functions

View File

@ -0,0 +1,7 @@
"""
script for news fetching (by keywords)
"""
__author__ = "Florian Kellermann, Linus Eickhoff"
__date__ = "15.03.2022"
__version__ = "0.0.1"
__license__ = "None"

View File

@ -1 +1,4 @@
pyTelegramBotAPI~=4.4.0 pyTelegramBotAPI~=4.4.0
beautifulsoup4==4.10.0
Markdown==3.3.6
Pillow==9.0.1