scroll up!

This commit is contained in:
24c02 2026-02-04 12:19:56 -05:00
parent 742dbcb498
commit 14849fb675
3 changed files with 13 additions and 0 deletions

View file

@ -0,0 +1,9 @@
class Tutorial::ScrollUpReminderJob < ApplicationJob
queue_as :default
def perform(identity)
return if identity.promote_click_count > 0
RalseiEngine.send_message(identity, "tutorial/scroll_up_reminder")
end
end

View file

@ -7,6 +7,8 @@ module RalseiEngine
scenario&.before_first_message
first_step = scenario&.first_step || :intro
send_step(identity, first_step)
Tutorial::ScrollUpReminderJob.set(wait: 25.seconds).perform_later(identity)
end
def handle_tutorial_agree(identity)

View file

@ -0,0 +1,2 @@
section "_psst_", markdown: true
header "Don't listen to Slackbot! Scroll up!"