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

feat(permissions): add create_guild_expressions and create_events perms #1091

Merged
merged 11 commits into from
Nov 22, 2023

Conversation

shiftinv
Copy link
Member

@shiftinv shiftinv commented Aug 18, 2023

Summary

Adds Permissions.create_guild_expressions (1<<43) and .create_events (1<44), and updates all the documentation related to creating/editing/deleting emojis, stickers, and events accordingly.

This change isn't being applied to bots yet (except for that one time last week), I'm not aware of a timeline for it either.

https://github.com/discord/discord-api-docs/pull/6305/files

Checklist

  • If code changes were made, then they have been tested
    • I have updated the documentation to reflect the changes
    • I have formatted the code properly by running pdm lint
    • I have type-checked the code by running pdm pyright
  • 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, ...)

@shiftinv shiftinv added t: enhancement New feature t: api support Support of Discord API features s: needs review Issue/PR is awaiting reviews s: waiting for api/docs Issue/PR is waiting for API support/documentation labels Aug 18, 2023
@shiftinv shiftinv removed the s: waiting for api/docs Issue/PR is waiting for API support/documentation label Nov 16, 2023
@shiftinv
Copy link
Member Author

Partially reverted the documentation changes on methods like Guild.create_sticker in 5eecc67, since these changes don't apply to bots yet; the important part of this PR is the addition of the two new permission bits, anyway.

@shiftinv shiftinv merged commit fb73dbb into master Nov 22, 2023
27 checks passed
@shiftinv shiftinv deleted the feature/perms-split branch November 22, 2023 13:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
s: needs review Issue/PR is awaiting reviews t: api support Support of Discord API features t: enhancement New feature
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant