Discord bot enhancing WRSS WIET & WI workflow
Tested for python 3.12
- build image using
docker build -t wrss-bot .
- copy
example.docker-compose.yml
todocker-compose.yml
and set environment variables - run container using
docker compose up -d
- install
direnv
- create python venv
- install packages from
requirements.txt
- copy
.sample-envrc
to.envrc
and set environment variables - run
direnv allow
to activate.envrc
- run bot using
python wrss-bot.py
- adding
seen
reaction to every post on main channel in order to easily show that user has read the message
- opening thread with name specified in message
- syntax for opening thread with
[thread name]
[thread name]
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
- searches for doodle links in all messages and forwards them do channel begin doodle hub along with reference to original message
- makes sure all doodles are in one place, so you can fill them easily :)
- adds
checkbox
reaction to all doodles on doodle channel to allow you for easily marking filled in doodles - supported doodle links can be specified in
config.py
file
- starts every thread with message showing all reactions to original posts
- made because on mobile devices it was impossible to see reactions to original post while reading thread
- adds
seen
reaction to message with[cd]
in it even if it is inside a thread - made when I was posting messages extending discord message length limit, so I had to continue them in threads, but still wanted people to be able to react with
seen
to them
- automatically adds survey-reactions to post based on message content
- syntax:
> - emote0 option-0-description
> - emote1 option-1-description
- automatically pings users with specified rank in all threads to allow them for receiving notifications about all new messages