Discord.http

Latest version: v1.3.20

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

Scan your dependencies

Page 8 of 9

1.0.8

- Made it show oauth URL on boot
- Added Client.disable_oauth_hint (bool) to disable default behaviour of oauth URL

This update in general serves as a way to make it easier to get your URL and start coding.
You can disable the default behaviour in two ways:
- Using the Client.disable_oauth_hint and set to True
- Using a Client.event and replace the default on_ready() event

1.0.7

- Fixed support for Attachment as command parameter
- Fixed Attachment not working with an empty Attachment.to_file()
- Added Channel.create_webhook()
- Added support for typing.Optional to be used in command paramaters
- Improved typing to show support for both discord_http.File and bytes in avatar/icon places
- Overall improving code and typing

1.0.6

- Fixed types
- Improved command/interaction handling
- Added more documentation
- Added missing arguments for user/message commands

1.0.5

Resolve issue where interaction and modal response did not use multipart response method to Discord HTTP request, in order to make responding with files possible.

1.0.4

- Fix stickers on `Guild` not working properly
- Resolve Embed.colour not being JSON friendly for API
- Added Guild.banner

1.0.3

- Fixed Windows error when exiting terminal of the bot
- Updated types to be more accurate
- Replaced gunicorn in favour of hypercorn, due to async support
- Added example for how to use RegEx interaction
- Moved all RegEx patterns to discord_http.utils for consistency

Page 8 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.