Discord integration for Django, supporting error reporting via webhooks.
Project description
Django Discord Integration
Discord integration for Django, supporting error reporting via webhooks.
Installation
$ pip install django-discord-integration
In your settings.py, add the following:
INSTALLED_APPS = (
'discord_integration',
'solo',
...
)
Next, migrate the database:
$ python manage.py migrate
Finally, set the Discord webhook URL in the Django admin, as well as the bot username and avatar URL if necessary.
Sample Logging Configuration
LOGGING = {
'handlers': {
'discord_integration': {
'level': 'ERROR',
'class': 'discord_integration.log.DiscordMessageHandler',
},
},
'loggers': {
'handlers': ['discord_integration'],
},
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django-discord-integration-1.0.3.tar.gz.
File metadata
- Download URL: django-discord-integration-1.0.3.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c17c087e8366fd7c8b855684ca56573e540a1820b813f449ddd4928df27a92b0
|
|
| MD5 |
9d8f715d3470d9e1efef629432149faf
|
|
| BLAKE2b-256 |
232848af18023fc869dffc61e14a1a672159abe8d293c2270cb05f0377158325
|
File details
Details for the file django_discord_integration-1.0.3-py3-none-any.whl.
File metadata
- Download URL: django_discord_integration-1.0.3-py3-none-any.whl
- Upload date:
- Size: 17.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
108daf631db4ddecb35228af14941bc9c1a561ddacabbf899f875e68a8d71325
|
|
| MD5 |
29efe2496a5e1dd498701ebb25f911c5
|
|
| BLAKE2b-256 |
7c060376346d67b5a7475c8f1781684d6b2e7506d025564dfd8c493b1b919503
|