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

refactor!: Change type of permissions attrs to Permissions #1209

Merged
merged 2 commits into from Jan 15, 2023

Conversation

Damego
Copy link
Member

@Damego Damego commented Dec 22, 2022

About

This pull request changes the type of permissions attribute of the most dataclasses to Permissions type. Case when you can't change perms for Overwrite
Additionally fixes wrong check for type parameter in Channel.add_permission_overwrite.

Checklist

  • The pre-commit code linter has been run over all edited files to ensure the code is linted.
  • I've ensured the change(s) work on 3.8.6 and higher.

I've made this pull request: (check all that apply)

  • For the documentation
  • To add a new feature
  • As a general enhancement
  • As a refactor of the library/the library's code
  • To fix an existing bug
  • To resolve #ISSUENUMBER

This is:

  • A breaking change

@Damego Damego added bug Something isn't working enhancement New feature or request labels Dec 22, 2022
@B1ue-Dev
Copy link
Contributor

Time to test it again with my /channel lock command after ages.

@B1ue-Dev
Copy link
Contributor

Worked. Approved.

@Damego
Copy link
Member Author

Damego commented Jan 15, 2023

i0 approved this pr, so I merge it

@Damego Damego merged commit b4154b8 into interactions-py:unstable Jan 15, 2023
@Damego Damego deleted the perms-fix branch January 15, 2023 05:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants