aboutsummaryrefslogtreecommitdiff
path: root/discord/message.py
diff options
context:
space:
mode:
authorRapptz <[email protected]>2021-08-23 23:51:40 -0400
committerRapptz <[email protected]>2021-08-23 23:51:40 -0400
commit8306b9f6af63d3880083a6d28bb53c2731d4b8a4 (patch)
tree3354cc0753b10a5fa801856694ed41837dacc566 /discord/message.py
parentRemove in-place edits and return fresh instances instead (diff)
downloaddiscord.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.py2
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: