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 3 of 9

1.3.6

- Fixed type for `Client.user`, as it technically is defined all the time on boot, and rather now raises `AttributeError` if trying to access it too early
- Fixed `Context.modal_values` type saying that it can be optionally `None` by mistake
- Added `Embed.set_colour` to make you able to set colour after initial call for `Embed`
- Resolved type hint for `Followup.send` if you decide to not make it wait for a response

1.3.5

- Added `PartialScheduledEvent.url`
- Replaced `Member.top_role` with `Guild.get_member_top_role` for more accuracy
- Fixed `discord_http.File` for cases where StringIO was used and had `read()` attribute

1.3.4

- Add `archived` property for Thread objects
- Add `Embed.copy()` to make it easier to duplicate embeds
- Added Audit enums for later use when it is introduced
- Added `get_partial_scheduled_event` and `fetch_scheduled_event` to `Guild`
- Renamed `fetch_scheduled_events` to `fetch_scheduled_events_list` for simplicity
- Fixed `utils.oauth_url` being broken with scope logic

1.3.3

- Added `Thread` object for command usage, when you want both private and public threads
- Fixed `commands.Choice` not working with int and float as a value
- Fixed `Emoji` object crashing if it was fetched in a spesific way
- Fixed `required` not working as intended for some `View` components

1.3.2

- Changed how `PartialEmoji` is handled and made a new class called `EmojiParser`
- Added more shortcuts to create partial objects to `Client` and `Guild`
- Added `Guild.default_role`
- Added `Member.top_role`
- Added missing properties to some create and edit functions

1.3.1

- Added more docs to Guild object
- Added Guild.get_partial_member as a shortcut to Client.get_partial_member

Page 3 of 9

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.