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

Fix #1244 #1246

Closed
wants to merge 2 commits into from
Closed

Fix #1244 #1246

wants to merge 2 commits into from

Conversation

Tiffinini
Copy link

Summary

My fast fix for #1241 which prevents use of TextChannels and VoiceChannels as command options.

Checklist

  • If code changes were made then they have been tested.
    • I have updated the documentation to reflect the changes.
  • If type: ignore comments were used, a comment is also left explaining why
  • This PR fixes an issue.
  • This PR adds something new (e.g. new method or parameters).
  • This PR is a breaking change (e.g. methods or parameters removed/renamed)
  • This PR is not a code change (e.g. documentation, README, typehinting, examples, ...)

@Tiffinini Tiffinini closed this Apr 10, 2022
@Tiffinini Tiffinini deleted the fix-#1244 branch April 10, 2022 06:51
@Tiffinini Tiffinini restored the fix-#1244 branch April 10, 2022 06:52
@Tiffinini Tiffinini reopened this Apr 10, 2022
@Lulalaby Lulalaby added the invalid This doesn't seem right label Apr 10, 2022
@@ -816,7 +816,7 @@ def _update(self, guild: Guild, data: Union[VoiceChannelPayload, StageChannelPay
self.video_quality_mode: VideoQualityMode = try_enum(VideoQualityMode, data.get("video_quality_mode", 1))
self.category_id: Optional[int] = utils._get_as_snowflake(data, "parent_id")
self.last_message_id: Optional[int] = utils._get_as_snowflake(data, 'last_message_id')
self.position: int = data["position"]
self.position: int = data.get("position")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this change have anything to do with this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants