Skip to content

Added support for discord:// flags=<int>#1409

Merged
caronc merged 2 commits intomasterfrom
1406-discord-flags-parameter
Sep 6, 2025
Merged

Added support for discord:// flags=<int>#1409
caronc merged 2 commits intomasterfrom
1406-discord-flags-parameter

Conversation

@caronc
Copy link
Owner

@caronc caronc commented Sep 6, 2025

Description:

Related issue (if applicable): #1406

Added support for ?flags=int per documentation indentified here:

🔐 Parameter Breakdown

Variable Required Description
flags No Set to an integer value per documentation

📦 Examples

Sends a simple example

apprise -vv -t "Title" -b "Message content" \
    "discord://credentials?flags=32"

Checklist

  • The code change is tested and works locally.
  • There is no commented out code in this PR.
  • No lint errors (use tox -e lint and even tox -e format to autofix what it can)
  • Test coverage added (use tox -e minimal)

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@<this.branch-name>

# Test out the changes with the following command:
apprise -t "Test Title" -b "Test Message" \
      "discord://credentials?flags=32"

# If you have cloned the branch and have tox available to you
# the following can also allow you to test:
tox -e apprise -- -t "Test Title" -b "Test Message" \
             "discord://credentials?flags=32"

@codecov
Copy link

codecov bot commented Sep 6, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.65%. Comparing base (dca2f7a) to head (7cd78a6).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1409   +/-   ##
=======================================
  Coverage   99.65%   99.65%           
=======================================
  Files         174      174           
  Lines       22503    22519   +16     
  Branches     3577     3582    +5     
=======================================
+ Hits        22425    22441   +16     
  Misses         70       70           
  Partials        8        8           
Files with missing lines Coverage Δ
apprise/plugins/discord.py 100.00% <100.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@caronc caronc merged commit 548e99a into master Sep 6, 2025
17 checks passed
@caronc caronc deleted the 1406-discord-flags-parameter branch November 29, 2025 02:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant