Skip to content

feat: Add support for editing member flags #1601

New issue

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

By clicking “No 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? No Sign in to your account

Merged
merged 1 commit into from
Feb 21, 2024

Conversation

Bastien1533
Copy link
Contributor

@Bastien1533 Bastien1533 commented Jan 29, 2024

#1553

Pull Request Type

  • Feature addition
  • Bugfix
  • Documentation update
  • Code refactor
  • Tests improvement
  • CI/CD pipeline enhancement
  • Other: [Replace with a description]

Description

This PR adds the possibility to include flags in the guild member update route. The only editable flag is BYPASSES_VERIFICATION with a value of 1<<2.

Changes

  • added flags key to the payload in members http requests
  • added flags parameter to modify_guild_member
  • added flags parameter to edit in user model

Related Issues

#1553

Test Scenarios

Python Compatibility

  • I've ensured my code works on Python 3.10.x
  • I've ensured my code works on Python 3.11.x

Checklist

  • I've run the pre-commit code linter over all edited files
  • I've tested my changes on supported Python versions
  • I've added tests for my code, if applicable
  • I've updated / added documentation, where applicable

@eightween eightween added enhancement New feature or request pending Pending approve labels Feb 3, 2024
@AstreaTSS AstreaTSS merged commit 9f2fda7 into interactions-py:unstable Feb 21, 2024
@Bastien1533 Bastien1533 deleted the unstable branch February 24, 2024 16:55
No Sign up for free to join this conversation on GitHub. Already have an account? No Sign in to comment
Labels
enhancement New feature or request pending Pending approve
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants