mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-20 13:29:03 +00:00
Add Reaction into typehint of add_reaction()
This commit is contained in:
1 parent
d16e0cbe61
commit
dbb00bd361
1 file changed
+1
-1
+1
-1
@@ -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