mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-07-21 02:16:41 +00:00
Add type hint for suppress parameter
This commit is contained in:
parent
490bbffc93
commit
8306b9f6af
@ -1781,7 +1781,7 @@ class PartialMessage(Hashable):
|
|||||||
fields['embed'] = embed.to_dict()
|
fields['embed'] = embed.to_dict()
|
||||||
|
|
||||||
try:
|
try:
|
||||||
suppress = fields.pop('suppress')
|
suppress: bool = fields.pop('suppress')
|
||||||
except KeyError:
|
except KeyError:
|
||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user