mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-07 10:22:59 +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:
|
def __init__(self, *, channel: MessageableChannel, id: int) -> None:
|
||||||
if not isinstance(channel, PartialMessageable) and channel.type not in (
|
if not isinstance(channel, PartialMessageable) and channel.type not in (
|
||||||
ChannelType.text,
|
ChannelType.text,
|
||||||
|
ChannelType.voice,
|
||||||
ChannelType.news,
|
ChannelType.news,
|
||||||
ChannelType.private,
|
ChannelType.private,
|
||||||
ChannelType.news_thread,
|
ChannelType.news_thread,
|
||||||
|
Reference in New Issue
Block a user