Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow PartialMessageChannel to be in voice channels (which now support text) #1441

Merged
merged 1 commit into from
Jun 24, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Allow PartialMessages to be in voice channels (which now support text)
  • Loading branch information
UP929312 authored Jun 24, 2022
commit 511fb1c3562c1b943bab8427fd3f80ab9e8933f3
1 change: 1 addition & 0 deletions discord/message.py
Original file line number Diff line number Diff line change
Expand Up @@ -1712,6 +1712,7 @@ class PartialMessage(Hashable):
def __init__(self, *, channel: PartialMessageableChannel, id: int):
if channel.type not in (
ChannelType.text,
ChannelType.voice,
ChannelType.news,
ChannelType.private,
ChannelType.news_thread,
Expand Down