From 89f3dbb786da7b035c453858a31ea9032c824c6b Mon Sep 17 00:00:00 2001 From: Andy Zhao <17884966+Zhao-Andy@users.noreply.github.com> Date: Thu, 30 Dec 2021 12:28:15 -0500 Subject: [PATCH] Update trusted user welcome email copy with Discord link (#15903) * Update trusted user welcome email copy with Discord link * Only show Discord link for dev.to * Add accidentally removed line oops --- .../mailers/notify_mailer/trusted_role_email.html.erb | 7 +++++++ .../mailers/notify_mailer/trusted_role_email.text.erb | 10 ++++++++-- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/app/views/mailers/notify_mailer/trusted_role_email.html.erb b/app/views/mailers/notify_mailer/trusted_role_email.html.erb index 9cee6388d..5c73cea68 100644 --- a/app/views/mailers/notify_mailer/trusted_role_email.html.erb +++ b/app/views/mailers/notify_mailer/trusted_role_email.html.erb @@ -18,6 +18,13 @@

For details on all available features and how to access them, visit our "><%= community_name %> Trusted User Guide.

+<% if ForemInstance.dev_to? %> +

+ Also, we hope that you'll use this link to join our moderator chat channels on DEV Discord! + Once inside, visit the #mod-verification channel and drop a link to your DEV profile so we can verify which set of privileges you have (">Trusted User + and/or ">Tag Moderator) and invite you to the correct moderator channels. We hope to see you there! 😀 +

+<% end %>

You may occasionally receive notifications about optional moderation actions; please unsubscribe if you do not want to receive these updates.

diff --git a/app/views/mailers/notify_mailer/trusted_role_email.text.erb b/app/views/mailers/notify_mailer/trusted_role_email.text.erb index 59c5c0046..b5c10d6c0 100644 --- a/app/views/mailers/notify_mailer/trusted_role_email.text.erb +++ b/app/views/mailers/notify_mailer/trusted_role_email.text.erb @@ -10,10 +10,16 @@ Here's an overview of your new abilities: - Quickly flag rule-breaking behavior with 🤢 to <%= community_name %> staff - Rate the experience level of a post -You may occasionally receive notifications about optional moderation actions; please unsubscribe (<%= app_url(user_settings_path(:notifications)) %>) if you do not want to receive these updates. - For details on all available features and how to access them, visit our <%= community_name %> Trusted User Guide: <%= app_url("/community-moderation") %> +<% if ForemInstance.dev_to? %> + Also, we hope that you'll use this link (https://discord.com/invite/f5ARW5gxES) to join our moderator chat channels on DEV Discord! + Once inside, visit the #mod-verification channel and drop a link to your DEV profile so we can verify which set of privileges you have (Trusted User [<%= app_url("/community-moderation") %>] + and/or Tag Moderator [<%= app_url("/tag-moderation") %>]) and invite you to the correct moderator channels. We hope to see you there! 😀 +<% end %> + +You may occasionally receive notifications about optional moderation actions; please unsubscribe (<%= app_url(user_settings_path(:notifications)) %>) if you do not want to receive these updates. + If you have any questions or feedback for us, please write to <%= ForemInstance.email %> and share your thoughts. Thanks for being such an awesome member of the community!