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.94k stars 385 forks source link

Discord user/role ping/notification support added #1004

Closed caronc closed 7 months ago

caronc commented 7 months ago

Description:

Related issue (if applicable): #989

Added PING support to Discord related notifications. Syntax supported is as follows:

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@989-discord-notifications

# Test out the changes with the following command:
apprise -vv -b "@everyone and @admin, wake and meet our new user <@123>; <@&456>" \
  "discord://credentials"
codecov-commenter commented 7 months ago

Codecov Report

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

Comparison is base (c499762) 99.51% compared to head (ee70d84) 99.51%.

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

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1004 +/- ## ======================================= Coverage 99.51% 99.51% ======================================= Files 125 125 Lines 16760 16778 +18 Branches 3434 3440 +6 ======================================= + Hits 16679 16697 +18 Misses 70 70 Partials 11 11 ```

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