mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-06-07 20:28:38 +00:00
Add Reaction into typehint of add_reaction()
This commit is contained in:
parent
d16e0cbe61
commit
dbb00bd361
@ -974,7 +974,7 @@ class PartialMessage(Hashable):
|
|||||||
# pinned exists on PartialMessage for duck typing purposes
|
# pinned exists on PartialMessage for duck typing purposes
|
||||||
self.pinned = False
|
self.pinned = False
|
||||||
|
|
||||||
async def add_reaction(self, emoji: EmojiInputType, /) -> None:
|
async def add_reaction(self, emoji: Union[EmojiInputType, Reaction], /) -> None:
|
||||||
"""|coro|
|
"""|coro|
|
||||||
|
|
||||||
Adds a reaction to the message.
|
Adds a reaction to the message.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user