Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/models/onboarding_scenarios/base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def slack_user_type = :multi_channel_guest
def slack_channels = []

# Returns array of channel names/IDs to add when promoting guest to full member
def promotion_channels = []
def promotion_channels = chans(:announcements, :lounge, :help, :news_wire, :slack_guide)

# Returns :internal_tutorial or :external_program
# Defaults to :internal_tutorial so every scenario gets the Flaming Skull welcome
Expand Down
2 changes: 1 addition & 1 deletion app/models/onboarding_scenarios/default_join.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def slack_channels
channels
end

def promotion_channels = Rails.configuration.slack_channels.slice(:announcements, :happenings, :community, :hardware, :code, :ship, :neighbourhood, :library, :lounge, :help).values
def promotion_channels = Rails.configuration.slack_channels.slice(:announcements, :lounge, :help, :news_wire, :slack_guide).values

def send_ephemeral_in_channel? = true

Expand Down
2 changes: 1 addition & 1 deletion app/models/onboarding_scenarios/slack_join.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def slack_channels
channels
end

def promotion_channels = Rails.configuration.slack_channels.slice(:announcements, :happenings, :community, :hardware, :code, :ship, :neighbourhood, :library, :lounge, :help).values
def promotion_channels = Rails.configuration.slack_channels.slice(:announcements, :lounge, :help, :news_wire, :slack_guide).values

def send_ephemeral_in_channel? = true

Expand Down
3 changes: 2 additions & 1 deletion config/slack_channels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,5 @@ shared:
hackatime_help: C0AFG0XGGMP
ysws: C0710J7F4U9
leaders: C02PA5G01ND
leaders_bulletin: C0AQ1CG4JLD
leaders_bulletin: C0AQ1CG4JLD
news_wire: C0BJ6LTLAFJ