Discord-webhook

Latest version: v1.3.1

Safety actively analyzes 681812 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 5

1.3.1

🩹 Fixes
- fix typing for allowed_mentions

1.3.0

🎉 Features
- add support for threads
- set `thread_id` or `thread_name` as kwargs in `AsyncDiscordWebhook` and `DiscordWebhook`

1.2.1

🩹 Fixes
- `timeout` keyword has accidentally set `tts` as well

1.2.0

🎉 Features
- `set_timestamp()` accepts also a datetime object
- set timestamp as ISO 8601

🩹 Fixes
- fix rate limit retry

1.1.0

🛠 Breaking Changes
- removed `remove_files` as an optional parameter in `.execute()`.
`.files` are automatically cleared so that the files aren't uploaded twice when editing a webhook.

🩹 Fixes
- fix removing embeds and files when editing a webhook

1.0.0

🎉 Features
- `execute()` stores the webhook ID in the `.id` property
- `DiscordWebhook.create_batch()` creates multiple instances

🛠 Breaking Changes
- `DiscordWebhook` and `AsyncDiscordWebhook`
- `url` parameter only excepts one url as `str`
- `edit()` excepts no parameters
- `delete()` excepts no parameters
- `DiscordEmbed`
- rename `del_embed_field()` to `delete_embed_field()`

Page 1 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.