Files
oam/knowledge base/slack.md
2024-08-07 22:28:53 +02:00

1.7 KiB

Slack

  1. TL;DR
  2. Add custom emoji
  3. Give aliases to existing emojis
  4. Further readings
    1. Sources

TL;DR

Setup
brew install --cask 'slack'
mas install '803453959'
Usage
# Send notifications to channels
curl -X POST -H 'Content-type: application/json' \
  --data '{"text": "Staging DB restore completed successfully"}' \
  'https://hooks.slack.com/services/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'

Add custom emoji

Check out slackmojis for some common reactions.

  1. Go to https://{{org-name}}.slack.com/customize/emoji.
  2. Select Add Custom Emoji.
  3. Upload the image. Supported formats: GIF, JPG, PNG.
  4. Give it a name.

Give aliases to existing emojis

  1. Go to https://{{org-name}}.slack.com/customize/emoji.
  2. Select Add Alias.
  3. Choose the image.
  4. Give it an alias.

Further readings

Sources