This simple script written in basic Python will allow you to hook into the real time API of Slack and perform a direct message greeting to every new joiner! It can also send a message about the Code of Conduct of your community, store and retrieve quotes as well as store URLs shared in the channels that the bot is invited to.
This is a fork of https://github.com/orliesaurus/greetingslack
Python 3.7+
git clone <thisgitrepo>
cd <thisgitrepo>
virtualenv greetingslack
. greetingslack/bin/activate
pip3 install -r requirements.txt
python bot.py &
A1.
To change the welcome message, expose WELCOME_MESSAGE
or WELCOME_FILE env
variable
A2.
Use !add quote goes here
A3.
Use !quote
A4.
Use !quote foobar
A5.
Use !quote id:123