💬 slack-react 🚀
Automate your Slack reactions! This Python project allows you to automatically add emoji reactions to Slack messages. The emojis are generated based on a user-provided message, with each character in the message converted to a corresponding emoji.
📚 Table of Contents
⚙️ Installation
pipx install slack-react
🛠 Usage
Before using this project, you need to get your Slack OAUTH token.
Refer to this guide to create and install a Slack app to get your token.
Once you have your token, set it as an environment variable.
export SLACK_OAUTH_USER_TOKEN=your-slack-token
Now you're ready to use the project! You can run the script using the following command:
python slack_react.py "your message" -c "your-channel"
Replace "your message" with the message you want to spell out with reactions.
Replace "your-channel" with the name of the channel where you want to add the
reactions.
The script will convert each character in the message to a corresponding emoji
and add these emojis as reactions to the most recent message in the
specified channel.
📖 Examples
python slack_react.py -c "general" "hello"
This command will spell out "hello" in emoji reactions in the "general" channel.
📜 License
This project is licensed under the GPL-3.0 License.
Release files for slack-react 0.3.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| slack-react-0.3.3.tar.gz | 43.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| slack_react-0.3.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 73.8 kB
Release files / slack-react-0.3.3.tar.gz
| Download URL | slack-react-0.3.3.tar.gz |
|---|---|
| Size | 43.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3b41dfd53c3a0d73dbb6a97b16ca6afe27c7bea4bef5290457d09478209557af
|
|
BLAKE2b-256 checksum How to use checksums |
91d00e03fb41f817f12ce37ded47b6edb478dbda774e2973e47b3fd592db2442
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Release files / slack_react-0.3.3-py3-none-any.whl
| Download URL | slack_react-0.3.3-py3-none-any.whl |
|---|---|
| Size | 30.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5c90baf6655c318d18e83523ff011e7e1990bb9a9ce15d46ad54d9e2f4633a93
|
|
BLAKE2b-256 checksum How to use checksums |
8409080cba5569a68646730b0effa17b25db40129b406b4a0731bec7cae007c1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|