discourse/plugins/discourse-narrative-bot/lib/discourse_narrative_bot
Régis Hanol 3c31884b79 FIX: match discobot triggers on cooked version
In French, the help trigger has a raw content of "afficher l'aider" which is then cooked into "afficher l’aide" (note the different quote character).
Since we were checking the raw content of the trigger against the cooked version of the post, this trigger never worked in French.

This changes so that we cook the trigger before checking in against the cooked version of the post.

DEV: new 'discobot_username' method that is used everywhere instead of 'discobot_user.username' / 'discobot_user.username_lower'
2020-06-25 13:29:55 +02:00
..
templates FIX: Narrative Bot certificates are ERB templates (#8174) 2019-10-09 17:45:01 +11:00
actions.rb FIX: match discobot triggers on cooked version 2020-06-25 13:29:55 +02:00
advanced_user_narrative.rb FIX: match discobot triggers on cooked version 2020-06-25 13:29:55 +02:00
base.rb DEV: Use method instead of constant for discobot badge names 2020-04-09 20:46:51 -06:00
certificate_generator.rb DEV: send url string to FileHelper and refactor another open-uri call 2019-11-14 08:25:30 -07:00
dice.rb Fix the build take 2. 2019-05-13 11:22:48 +08:00
magic_8_ball.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
new_user_narrative.rb FIX: match discobot triggers on cooked version 2020-06-25 13:29:55 +02:00
quote_generator.rb FIX: Use the quote generator in the example text 2019-10-16 13:40:44 -04:00
track_selector.rb FIX: match discobot triggers on cooked version 2020-06-25 13:29:55 +02:00
welcome_post_type_site_setting.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00