diff options
| author | Rapptz <[email protected]> | 2021-08-23 23:51:40 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2021-08-23 23:51:40 -0400 |
| commit | 8306b9f6af63d3880083a6d28bb53c2731d4b8a4 (patch) | |
| tree | 3354cc0753b10a5fa801856694ed41837dacc566 /discord/message.py | |
| parent | Remove in-place edits and return fresh instances instead (diff) | |
| download | discord.py-8306b9f6af63d3880083a6d28bb53c2731d4b8a4.tar.xz discord.py-8306b9f6af63d3880083a6d28bb53c2731d4b8a4.zip | |
Add type hint for suppress parameter
Diffstat (limited to 'discord/message.py')
| -rw-r--r-- | discord/message.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/message.py b/discord/message.py index 4ddd93ee..14b7fee4 100644 --- a/discord/message.py +++ b/discord/message.py @@ -1781,7 +1781,7 @@ class PartialMessage(Hashable): fields['embed'] = embed.to_dict() try: - suppress = fields.pop('suppress') + suppress: bool = fields.pop('suppress') except KeyError: pass else: |