caronc / apprise

Apprise - Push Notifications that work with just about every platform!
https://hub.docker.com/r/caronc/apprise
BSD 2-Clause "Simplified" License
10.9k stars 384 forks source link

Slack supports <@userid> in message body #1134

Closed caronc closed 1 month ago

caronc commented 1 month ago

Description:

Related issue (if applicable): #849

Added support for <@userid> and <@userid|desc> to slack payload

Checklist

Testing

Anyone can help test this source code as follows:

# Create a virtual environment to work in as follows:
python3 -m venv apprise

# Change into our new directory
cd apprise

# Activate our virtual environment
source bin/activate

# Install the branch
pip install git+https://github.com/caronc/apprise.git@849-slack-userid-in-body

# Test out the changes with the following command:
apprise -t "Test Title" -b "Hi <@U1ZQL9N3Y>!" \
  "slack://credentials/"
codecov-commenter commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 99.28%. Comparing base (da14b3a) to head (1ef401c).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1134 +/- ## ======================================= Coverage 99.28% 99.28% ======================================= Files 140 140 Lines 18229 18234 +5 Branches 3728 3729 +1 ======================================= + Hits 18098 18103 +5 Misses 121 121 Partials 10 10 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.