Skip to main content

A Django app to send any exception to discord channel.

Project description

A Django app to send any exception to a Discord channel.

Quick start

  1. Add “alert-wing” to your INSTALLED_APPS setting in your Django project’s settings file:

    INSTALLED_APPS = [
        ...,
        "alert-winglet",
    ]
Discord:

1.Set the DISCORD_WEBHOOK_URL variable in your Django settings. This is the URL of the Discord webhook you want to use for sending exceptions.

2.Use the DiscordEmbedManager class to create a Discord Embed object, and then use the Discord delivery method to send the exception to your Discord channel using the webhook.

Requirements

  • django ~= 4.1.5

  • discord.py ~=2.2.3

  • requests ~=2.28.2

License

This project is licensed under the MIT License.

Bug Reports and Feature Requests

Please use the GitHub_issue tracker to report any bugs or submit feature requests.

Authors

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-alert-winglet-0.1.5.tar.gz (6.5 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page