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

Added Feishu Custom Bot Support #1099

Closed caronc closed 2 months ago

caronc commented 2 months ago

Description:

Related issue (if applicable): n/a

Added Feishu Custom Bot support

Account Setup

Register your account with Feishu and then follow these instructions to create a custom bot (and acquire the token you need).

Syntax

Valid syntax is as follows:

Parameter Breakdown

Variable Required Description
token Yes The token you generated as part of your Fieshu Custom Bot Creation (via your account)

New Service Completion Status

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@feishu-bot-support

# Test out the changes with the following command:
apprise -t "Test Title" -b "Test Message" \
  "feishu://token"
codecov-commenter commented 2 months ago

Codecov Report

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

Project coverage is 99.27%. Comparing base (f461b68) to head (0ebe87a). Report is 1 commits behind head on master.

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

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1099 +/- ## ======================================= Coverage 99.27% 99.27% ======================================= Files 138 139 +1 Lines 17963 18019 +56 Branches 3670 3676 +6 ======================================= + Hits 17833 17889 +56 Misses 121 121 Partials 9 9 ```

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