Skip to content

Commit 7375c11

Browse files
committed
style(typing): Small fix
Signed-off-by: Mathieu Corsham <[email protected]>
1 parent b455199 commit 7375c11

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

discord/message.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@
7979
from .sticker import GuildSticker
8080
from .channel import TextChannel, VoiceChannel, StageChannel, ThreadChannel, TextChannel, ForumChannel, ForumPost
8181

82+
MentionableChannel = Union[TextChannel, VoiceChannel, StageChannel, ThreadChannel, TextChannel, ForumChannel, ForumPost]
83+
8284
__all__ = (
8385
'Attachment',
8486
'Message',
@@ -89,7 +91,7 @@
8991

9092

9193
MISSING = utils.MISSING
92-
MentionableChannel = Union[TextChannel, VoiceChannel, StageChannel, ThreadChannel, TextChannel, ForumChannel, ForumPost]
94+
9395

9496
def convert_emoji_reaction(emoji: Union[Reaction, Emoji, PartialEmoji, str]) -> str:
9597
if isinstance(emoji, Reaction):

0 commit comments

Comments
 (0)