text fix
This commit is contained in:
parent
8852e91aa4
commit
bca64ea971
@ -238,7 +238,7 @@ class Answer(BaseAnswer):
|
|||||||
elif text == "Не уведомлять":
|
elif text == "Не уведомлять":
|
||||||
bot.send_message(
|
bot.send_message(
|
||||||
user.chat_id,
|
user.chat_id,
|
||||||
"Принято! Я не уведомлять тебя.",
|
"Принято! Я не буду уведомлять тебя.",
|
||||||
reply_markup=main_keyboard()
|
reply_markup=main_keyboard()
|
||||||
)
|
)
|
||||||
mongo.users_collection.update_one(
|
mongo.users_collection.update_one(
|
||||||
@ -275,7 +275,7 @@ class Answer(BaseAnswer):
|
|||||||
if user.notify_minutes is not None:
|
if user.notify_minutes is not None:
|
||||||
text = f"Принято! Буду уведомлять тебя за {text}."
|
text = f"Принято! Буду уведомлять тебя за {text}."
|
||||||
else:
|
else:
|
||||||
text = f"Принято! Я не уведомлять тебя."
|
text = f"Принято! Я не буду уведомлять тебя."
|
||||||
bot.send_message(user.chat_id, text, reply_markup=main_keyboard())
|
bot.send_message(user.chat_id, text, reply_markup=main_keyboard())
|
||||||
self.set_state(user, "ready")
|
self.set_state(user, "ready")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user