From 943171ac16f9d8da528f0cb9029b7b47f953132b Mon Sep 17 00:00:00 2001 From: Davte Date: Thu, 28 Mar 2019 19:17:55 +0100 Subject: [PATCH] Whitespace in comments and docstrings --- davtelepot/custombot.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/davtelepot/custombot.py b/davtelepot/custombot.py index eb5ef16..f28ec3e 100644 --- a/davtelepot/custombot.py +++ b/davtelepot/custombot.py @@ -120,9 +120,9 @@ class Bot(telepot.aio.Bot, Gettable): instances = {} stop = False # Cooldown time between sent messages, to prevent hitting - # Telegram flood limits + # Telegram flood limits # Current limits: 30 total messages sent per second, - # 1 message per second per chat, 20 messages per minute per group + # 1 message per second per chat, 20 messages per minute per group COOLDOWN_TIME_ABSOLUTE = datetime.timedelta(seconds=1/30) COOLDOWN_TIME_PER_CHAT = datetime.timedelta(seconds=1) MAX_GROUP_MESSAGES_PER_MINUTE = 20 @@ -254,7 +254,7 @@ class Bot(telepot.aio.Bot, Gettable): @property def unknown_command_message(self): - """Message to be returned if user sends an unknown command in private chat. + """Message to be returned if user sends an unknown command. If instance message is not set, class message is returned. """