Allow receiving messages from voice channels

This commit is contained in:
Haruka authored and GitHub committed 2022-03-25 04:24:19 -04:00
1 parent 816d2176e9
commit cda1f0a4ef
1 file changed
+1
+1
View File
@@ -571,6 +571,7 @@ class PartialMessage(Hashable):
def __init__(self, *, channel: MessageableChannel, id: int) -> None:
if not isinstance(channel, PartialMessageable) and channel.type not in (
ChannelType.text,
ChannelType.voice,
ChannelType.news,
ChannelType.private,
ChannelType.news_thread,