This commit is contained in:
Egor Guslyancev 2023-12-21 14:05:34 -03:00
parent b43bfc5afd
commit 14e63864ff
GPG Key ID: D7E709AA465A55F9
1 changed files with 2 additions and 2 deletions

4
bot.py
View File

@ -19,7 +19,7 @@ import timeout as tmo
# TODO more backends (redis at least)
db = db_classes.PickleDB(".db")
db.load()
CURRENT_VERSION = "v1.0rc9"
CURRENT_VERSION = "v1.0rc10"
VERSION = db.read("about.version", CURRENT_VERSION)
db.write("about.author", "electromagneticcyclone")
db.write("about.tester", "angelbeautifull")
@ -1308,7 +1308,7 @@ def set_timezone(message: telebot.types.Message):
def get_hours() -> tuple:
"Returns forum's work hours."
# TODO command to set range
return (8, 20)
return tuple(range(8, 20))
def stack_update(forum: int, force_reset: bool = False) -> None: