We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5abc509 commit d89c35cCopy full SHA for d89c35c
1 file changed
lib/baseballbot/models/subreddit.rb
@@ -33,7 +33,7 @@ def with_unposted_off_day_thread
33
# If the bot isn't a moderator of the subreddit, it can't perform some actions
34
def moderator? = moderators.include?(bot.name.downcase)
35
36
- def sticky_game_threads? = moderator? && options.dig(:game_threads, :sticky) != false
+ def sticky_game_threads? = moderator? && options.dig('game_threads', 'sticky') != false
37
38
def now = Baseballbot::Utility.parse_time(Time.now.utc, in_time_zone: timezone)
39
0 commit comments