mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-18 23:15:48 +00:00
Allow receiving messages from voice channels
This commit is contained in:
parent
816d2176e9
commit
cda1f0a4ef
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user