-
-
Notifications
You must be signed in to change notification settings - Fork 133
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
Validate various unvalidated fields #1477
Labels
c-http
Affects the http crate
c-validate
Affects the validate crate
t-feature
Addition of a new feature
Comments
7596ff
added
c-http
Affects the http crate
c-validate
Affects the validate crate
t-feature
Addition of a new feature
labels
Jan 20, 2022
zeylahellyer
added a commit
that referenced
this issue
Jan 19, 2023
Validate channel `user_limit` fields on `UpdateChannel` and `CreateGuildChannel`, introducing a new `user_limit` function in `twilight_validate::channel`. Part of #1477.
zeylahellyer
added a commit
that referenced
this issue
Jan 19, 2023
Validate bulk message delete counts by introducing a new `bulk_delete_messages` in `twilight_validate::channel`. Part of #1477.
7596ff
pushed a commit
that referenced
this issue
Jan 28, 2023
Validate channel `user_limit` fields on `UpdateChannel` and `CreateGuildChannel`, introducing a new `user_limit` function in `twilight_validate::channel`. Part of #1477. Co-authored-by: Erk <[email protected]>
7596ff
pushed a commit
that referenced
this issue
Jan 28, 2023
Validate bulk message delete counts by introducing a new `bulk_delete_messages` in `twilight_validate::channel`. Part of #1477.
zeylahellyer
pushed a commit
that referenced
this issue
Feb 20, 2023
Validate the `name`, `name_localizations`, and `values` fields of application command option choices. Part of #1477.
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-validate
Affects the validate crate
t-feature
Addition of a new feature
Validation can be performed on other fields, such as
CreateRole::name
. A once-over should be done on all of our request builder methods to ensure that everything is validated.This list includes both fields which have arbitrary values and fields that can be represented as
enums.
Tasks:
choices
description
name
options
name
value
name
auto_archive_duration
bitrate
refactor(http)! bitrate validation #1855default_auto_archive_duration
name
rate_limit_per_user
topic
user_limit
feat(http, validate)!: channel user limits #2077custom_id
components
label
max_values
min_values
options
placeholder
description
label
value
max_length
min_length
placeholder
value
author.name
description
field.name
field.value
fields
footer.text
title
name
description
location
name
components
content
embeds
sticker_ids
messages
feat(http, validate)!: bulk delete message count #2078welcome_channels
days
max_age
max_uses
delete_message_days
limit
limit
limit
days
limit
limit
limit
limit
color
name
(undocumented)topic
description
name
tags
name
nickname
username
The text was updated successfully, but these errors were encountered: