From fca0204059bacc97a37aafa64d308098cfb56b80 Mon Sep 17 00:00:00 2001 From: flifloo Date: Sat, 28 Dec 2019 01:51:33 +0100 Subject: [PATCH] Fix notification cooldown and time set reply --- TelegramEDT/notif.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TelegramEDT/notif.py b/TelegramEDT/notif.py index d5a848b..172e3ca 100644 --- a/TelegramEDT/notif.py +++ b/TelegramEDT/notif.py @@ -107,7 +107,7 @@ async def await_cmd(message: types.message): else: user.nt_cooldown = value - msg = lang(user, "notif_time_cooldown").format(user.await_cmd[6:], value) + msg = lang(user, "notif_time_cooldown").format(user.await_cmd, value) user.await_cmd = str() session.commit() await message.reply(msg, parse_mode=ParseMode.MARKDOWN, reply_markup=key)