From 5abe26fbac145898c04a520d8e1a3b669acfae57 Mon Sep 17 00:00:00 2001 From: Alexey Skobkin Date: Mon, 2 May 2022 17:53:53 +0300 Subject: [PATCH] telegram. Adding docstrings to classes. --- telegram/command_processor.py | 4 ++++ telegram/notifier.py | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/telegram/command_processor.py b/telegram/command_processor.py index bd5f162..bc5d2d2 100644 --- a/telegram/command_processor.py +++ b/telegram/command_processor.py @@ -3,6 +3,10 @@ from telebot.types import Message class CommandProcessor: + """ + Processes user input and dispatches the data to other services. + """ + bot: telebot.TeleBot def __init__(self, token: str): diff --git a/telegram/notifier.py b/telegram/notifier.py index 1eb2b85..633f901 100644 --- a/telegram/notifier.py +++ b/telegram/notifier.py @@ -2,6 +2,10 @@ import telebot class Notifier: + """ + Sends notifications to users about new RSS feed items. + """ + bot: telebot.TeleBot def __init__(self, token: str):