#7 Adding docstrings to classes.
This commit is contained in:
parent
1bdaa75668
commit
aaaed01f9d
|
@ -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