mirror of
https://github.com/discourse/discourse.git
synced 2025-02-20 11:38:36 -06:00
Move the constant as well.
This commit is contained in:
parent
26b5981f19
commit
17c29c972b
@ -1,5 +1,7 @@
|
||||
module DiscourseNarrativeBot
|
||||
module Actions
|
||||
TIMEOUT_DURATION = 900 # 15 mins
|
||||
|
||||
def discobot_user
|
||||
@discobot ||= User.find(-2)
|
||||
end
|
||||
|
@ -2,8 +2,6 @@ module DiscourseNarrativeBot
|
||||
class Base
|
||||
include Actions
|
||||
|
||||
TIMEOUT_DURATION = 900 # 15 mins
|
||||
|
||||
class InvalidTransitionError < StandardError; end
|
||||
|
||||
def input(input, user, post: nil, topic_id: nil, skip: false)
|
||||
|
Loading…
Reference in New Issue
Block a user