Skip to content
This repository has been archived by the owner on Mar 13, 2023. It is now read-only.

feat: add permissions_for to threadchannels #659

Merged
merged 1 commit into from
Oct 4, 2022
Merged

Conversation

LordOfPolls
Copy link
Member

What type of pull request is this?

  • Non-breaking code change
  • Breaking code change
  • Documentation change/addition
  • Tests change

Description

Adds a helper method to ThreadChannel allowing users to use permissions_for on thread objects. It simply aliases self.parent_channel.permissions_for

Changes

  • As above

Checklist

  • I've formatted my code with Black
  • I've ensured my code works on Python 3.10.x
  • I've tested my code

@LordOfPolls LordOfPolls added Improvement Something that is already implemented but can be done better New Feature::Library A new feature for the library labels Oct 3, 2022
@LordOfPolls LordOfPolls merged commit 591a7e1 into 2.x Oct 4, 2022
@LordOfPolls LordOfPolls deleted the thread-perms branch October 4, 2022 09:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Improvement Something that is already implemented but can be done better New Feature::Library A new feature for the library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants