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(http, model, util): support nsfw commands #2019

Merged
merged 1 commit into from
Jan 4, 2023

Conversation

zeylahellyer
Copy link
Member

Support age-restricted commands via the new nsfw field on commands, which is an optional boolean. Adds NSFW setters to guild/global command create and update HTTP builders and to the util crate's command builder.

Closes #2011.

Support age-restricted commands via the new `nsfw` field on commands,
which is an optional boolean. Adds NSFW setters to guild/global command
create and update HTTP builders and to the util crate's command builder.

Closes #2011.
@github-actions github-actions bot added c-http Affects the http crate c-model Affects the model crate c-util Affects the util crate c-validate Affects the validate crate t-feature Addition of a new feature labels Dec 29, 2022
@zeylahellyer zeylahellyer merged commit 0602cc6 into main Jan 4, 2023
@zeylahellyer zeylahellyer deleted the zeyla/feat-http-model-util-command-nsfw branch January 4, 2023 05:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c-http Affects the http crate c-model Affects the model crate c-util Affects the util crate c-validate Affects the validate crate t-feature Addition of a new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support age-restricted commands
3 participants