From db60a538b2d8051dc7a6db7add2eb9c2c81dd665 Mon Sep 17 00:00:00 2001 From: profitroll Date: Tue, 3 Jan 2023 15:12:46 +0100 Subject: [PATCH] Improved docstrings --- modules/database.py | 3 +++ modules/inline.py | 3 +++ modules/scheduled.py | 3 +++ 3 files changed, 9 insertions(+) diff --git a/modules/database.py b/modules/database.py index 9a4ba1d..f68db38 100644 --- a/modules/database.py +++ b/modules/database.py @@ -1,3 +1,6 @@ +"""Module that provides all database columns and +creates geospatial index for col_applications""" + from pymongo import MongoClient, GEOSPHERE from ujson import loads diff --git a/modules/inline.py b/modules/inline.py index d0f1a8e..0637c53 100644 --- a/modules/inline.py +++ b/modules/inline.py @@ -1,3 +1,6 @@ +"""Module responsible for providing answers to +all inline queries that bot receives""" + from datetime import datetime from os import path, sep from app import app, isAnAdmin diff --git a/modules/scheduled.py b/modules/scheduled.py index 979c964..ce986ef 100644 --- a/modules/scheduled.py +++ b/modules/scheduled.py @@ -1,3 +1,6 @@ +"""Automatically register commands and execute +some scheduled tasks is the main idea of this module""" + from os import listdir, makedirs, path, sep from apscheduler.schedulers.asyncio import AsyncIOScheduler from datetime import datetime, timedelta