mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-06 09:56:09 +00:00
Allow receiving messages from voice channels
This commit is contained in:
@ -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,
|
||||
|
Reference in New Issue
Block a user