HelloThere is a simple slackbot to welcome new users, with customizable welcome message and channel to send it to.
Python 2.7 and above
- Clone or download all the files in this repository
- Create a new custom bot integration in your workspace and note down the bot's API Token
- Insert the API token accordingly
If you're using environment variables, you should save the token on
HELLOTHERE_TOKEN
. Otherwise, put the token on the line inbot.py
that said"Insert the bot's API token here"
- If you want to customize the template text and the channel, edit
bot.py
on respective places
If you want to mention the newly joined user, write
<@userId>
. Later on the bot will change it to the actual user ID. The format for channel is#channel-name
, e.g.#general
.
- Invite the bot to the channel from previous step
pip install slackclient
python bot.py