mirror of
https://github.com/EDeev/chatping_abobot.git
synced 2026-06-18 22:20:58 +03:00
Version 1.0
This commit is contained in:
parent
fd21bbcb62
commit
8bcb131267
1 changed files with 1 additions and 11 deletions
10
script.py
10
script.py
|
|
@ -33,16 +33,6 @@ def times():
|
|||
return f'{itg} дней)'
|
||||
|
||||
|
||||
def autozak(name):
|
||||
num = str(len(name))
|
||||
if int(num[-1]) == 1:
|
||||
return f'{num} минута.'
|
||||
elif 1 < int(num[-1]) < 5:
|
||||
return f'{num} минуты.'
|
||||
else:
|
||||
return f'{num} минут.'
|
||||
|
||||
|
||||
def update_stat(var, message, main=False):
|
||||
db.statistics_group(message.chat.id, var)
|
||||
db.user_statistic(message.from_user.id, message.chat.id, var)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue