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.

Introduction

alert-wing is a Django app that allows you to send any exception to various apps, such as Discord. You can easily implement the functionality you need for each app.

Quick start

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

    INSTALLED_APPS = [
        ...,
        "alert-wing",
    ]
  2. 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.

  3. 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.

Documentation

For detailed documentation and usage instructions, please refer to the “docs” directory.

Requirements

  • django ~= 4.1.5

  • discord.py ~=2.2.3

  • requests ~=2.28.2

License

This project is licensed under the MIT License.

Contributing

We welcome contributions! Please refer to the “CONTRIBUTING.md” file for more information.

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.3.tar.gz (6.8 kB view details)

Uploaded Source

File details

Details for the file django-alert-winglet-0.1.3.tar.gz.

File metadata

  • Download URL: django-alert-winglet-0.1.3.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.1

File hashes

Hashes for django-alert-winglet-0.1.3.tar.gz
Algorithm Hash digest
SHA256 774f5cee7336ef3646dfa5da1e7b9c6a4b38e8f18ef2574e885f0dfd8d362ef2
MD5 4e903d2aa3ea8071a7db888eaf0d8c17
BLAKE2b-256 1f5d00b5135e32191cea9501c5562eb34443414495361f3efdf734f7d48d4033

See more details on using hashes here.

Provenance

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