mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-10-22 08:23:09 +00:00
Add Reaction into typehint of add_reaction()
This commit is contained in:
@@ -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.
|
||||||
|
Reference in New Issue
Block a user