Skip to content
This repository has been archived by the owner on Mar 13, 2023. It is now read-only.

Commit

Permalink
Merge pull request #19 from profcomff/GDocs-add
Browse files Browse the repository at this point in the history
  • Loading branch information
grigoriev-semyon committed Dec 3, 2022
2 parents 0b0bfc0 + 7c01254 commit d1b029d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bot/event_scenarios/msg_reactions.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def start_message(cls, direction_id: int):
CONFIRM_BUTTON = """Всё понятно"""
NEXT_VIDEO_BUTTON = """К следующему уроку"""
APPROVE_QUESTION = (
"Посмотри, есть ли ошбки. Если всё нормально, переходи к следующему уроку!"
"Посмотри, есть ли ошибки. Если всё нормально, переходи к следующему уроку!"
)
APPROVE_TRUE = "Отправить"
APPROVE_FALSE = "Ввести снова"
Expand Down
2 changes: 1 addition & 1 deletion bot/event_scenarios/workflow/event_handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def on_approve(vk: VkApiMethod, event: Event):
utils.send_message(
vk,
event.user_id,
message=dedent("Ошибка. Возможно, ссылка не на google drive или нет публичного доступа"))
message=dedent("Ошибка. Возможно, ссылка не на google drive/google docs или нет публичного доступа"))
kb = VkKeyboard(one_time=False, inline=True)
kb.add_button(
reactions.Workflow.NEXT_VIDEO_BUTTON, color=VkKeyboardColor.POSITIVE
Expand Down

0 comments on commit d1b029d

Please sign in to comment.