mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 07:53:49 +08:00
FEATURE: Send a message to new TL2 users and point them to the advanced tutorial (#8335)
* FEATURE: Send a message to new TL2 users and point them to the advanced tutorial * DEV: Use a method to find the discobot user
This commit is contained in:
@ -18,7 +18,7 @@ module DiscourseNarrativeBot
|
||||
end
|
||||
|
||||
@date = I18n.l(date, format: :date_only)
|
||||
@discobot_user = User.find(-2)
|
||||
@discobot_user = ::DiscourseNarrativeBot::Base.new.discobot_user
|
||||
end
|
||||
|
||||
def new_user_track
|
||||
|
Reference in New Issue
Block a user