Browse Source

Allow receiving messages from voice channels

pull/7765/head
Haruka 3 years ago
committed by GitHub
parent
commit
cda1f0a4ef
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      discord/message.py

1
discord/message.py

@ -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…
Cancel
Save