discourse/plugins/discourse-narrative-bot/autoload/jobs
Blake Erickson 80a80ef2bd DEV: Use method instead of constant for discobot badge names
This change refactors the code a bit so that a plugin could easily
replace which badge is awarded when completing the discobot new user
tutorial and advanced tutorial.

By adding a static method and putting the BADGE_NAME constant inside of
that method we can simply call that method now instead of the constant.
A plugin could then `class_eval` that method and replace it with
whatever badge name they choose. This is way cleaner than having the
plugin change the frozen constant! eeek.
2020-04-09 20:46:51 -06:00
..
onceoff DEV: Use method instead of constant for discobot badge names 2020-04-09 20:46:51 -06:00
bot_input.rb DEV: Upgrading Discourse to Zeitwerk (#8098) 2019-10-02 14:01:53 +10:00
narrative_init.rb DEV: Upgrading Discourse to Zeitwerk (#8098) 2019-10-02 14:01:53 +10:00
narrative_timeout.rb DEV: Upgrading Discourse to Zeitwerk (#8098) 2019-10-02 14:01:53 +10:00
send_advanced_tutorial_message.rb FIX: trigger commands are different for each locale, account for that. 2020-01-01 16:53:36 +05:30
send_default_welcome_message.rb FEATURE: Send a message to new TL2 users and point them to the advanced tutorial (#8335) 2019-11-13 18:31:49 -03:00