Browse Source

Add type hint for suppress parameter

pull/7476/head
Rapptz 4 years ago
parent
commit
8306b9f6af
  1. 2
      discord/message.py

2
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:

Loading…
Cancel
Save