Skip to main content

Add reactions that spell out messages to Slack messages

Project description

💬 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

slack-react-0.3.2.tar.gz (43.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

slack_react-0.3.2-py3-none-any.whl (30.2 kB view details)

Uploaded Python 3

File details

Details for the file slack-react-0.3.2.tar.gz.

File metadata

  • Download URL: slack-react-0.3.2.tar.gz
  • Upload date:
  • Size: 43.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for slack-react-0.3.2.tar.gz
Algorithm Hash digest
SHA256 8c12e6d36d361f70568ef4cb49175bd88c6f081b81ee22171d3aa12d7377488e
MD5 da9fb4c0890b110fd104c5da86bab319
BLAKE2b-256 9c3e3fdbdae4315fcff853c3e58a99a2e4146965135b9d97cea38840b40b98f3

See more details on using hashes here.

File details

Details for the file slack_react-0.3.2-py3-none-any.whl.

File metadata

  • Download URL: slack_react-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 30.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for slack_react-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6c4ba3eaa7fac8f6ef0df067c2cbb1e8557371bf117a7845a97bb4bac6ef59a7
MD5 4a3973855a10d382080117843d1a2eba
BLAKE2b-256 b4ec97354dadbdd2fb028d56dc3d74925c32a350832f192294bbdc52aad7b123

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page