1
0
Fork 0

Fix notification cooldown and time set reply

This commit is contained in:
Ethanell 2019-12-28 01:51:33 +01:00
parent 4aa52befcc
commit fca0204059

View file

@ -107,7 +107,7 @@ async def await_cmd(message: types.message):
else: else:
user.nt_cooldown = value 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() user.await_cmd = str()
session.commit() session.commit()
await message.reply(msg, parse_mode=ParseMode.MARKDOWN, reply_markup=key) await message.reply(msg, parse_mode=ParseMode.MARKDOWN, reply_markup=key)