All you need to do is to add your own text in the greetings.yml file.
CHANNEL_NAME:
text: |
This is a multi line message
You can write whatever you want here and it will be told to the user on joining your channel
Links to channels may not work, see below for help
All you need to do is to add your own text in the messages.yml.
Each channel is an entry into the YAML with an array of possible messages. The format of the entry is as follows:
format
: regex to match text. E.g. (accounts?) matches anything with the word account or accounts)dont_repeat_within
: In seconds. How long should we wait until repeating the same message in the channel?dont_repeat_for_user_within
: In seconds. How long should we wait until repeating the same message for the same user in the channel?text
: What to respond withephemeral
: Optional. Should this message be visible to only the user who asked the question (true) or everyone (false, default)
CHANNEL_NAME:
-
format: <REGEX THAT MATCHES THE TEXT>
dont_repeat_within: 1800 # 30M
dont_repeat_for_user_within: 86400 # 24H
text: |
This is a multi line message
You can write whatever you want here and it will be told to the user on matching messages
Links to channels may not work, see below for help
Links to slack channels in messages or greetings may not work. You need to use the format <#ID_NUMBER|CHANNEL_NAME>
to get it to link correctly.
To find the id:
- Right click the timestamp of a message in the channel you want to link to
-
The link I got (https://slack-org.slack.com/archives/CABCDE/p1999999) contains the channel after
archive
. In this case, it would beCABCDE
. -
The link I would use is
<#CABCDE|channel_name>
in the text.