telegram. Adding docstrings to classes.
This commit is contained in:
parent
e8cb2fd3c5
commit
5abe26fbac
|
@ -3,6 +3,10 @@ from telebot.types import Message
|
||||||
|
|
||||||
|
|
||||||
class CommandProcessor:
|
class CommandProcessor:
|
||||||
|
"""
|
||||||
|
Processes user input and dispatches the data to other services.
|
||||||
|
"""
|
||||||
|
|
||||||
bot: telebot.TeleBot
|
bot: telebot.TeleBot
|
||||||
|
|
||||||
def __init__(self, token: str):
|
def __init__(self, token: str):
|
||||||
|
|
|
@ -2,6 +2,10 @@ import telebot
|
||||||
|
|
||||||
|
|
||||||
class Notifier:
|
class Notifier:
|
||||||
|
"""
|
||||||
|
Sends notifications to users about new RSS feed items.
|
||||||
|
"""
|
||||||
|
|
||||||
bot: telebot.TeleBot
|
bot: telebot.TeleBot
|
||||||
|
|
||||||
def __init__(self, token: str):
|
def __init__(self, token: str):
|
||||||
|
|
Loading…
Reference in a new issue