-
-
Notifications
You must be signed in to change notification settings - Fork 72
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(errors): expose all identifiers in an enum #161
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kyranet
force-pushed
the
feat/expose-all-built-in-identifiers
branch
from
February 6, 2021 10:35
2b4a0ad
to
24b9df0
Compare
favna
requested changes
Feb 6, 2021
kyranet
force-pushed
the
feat/expose-all-built-in-identifiers
branch
2 times, most recently
from
February 6, 2021 13:26
77aaa6f
to
57e180c
Compare
kyranet
force-pushed
the
feat/expose-all-built-in-identifiers
branch
2 times, most recently
from
February 6, 2021 13:38
34eb77d
to
533cc9f
Compare
favna
previously approved these changes
Feb 6, 2021
vladfrangu
requested changes
Feb 6, 2021
kyranet
force-pushed
the
feat/expose-all-built-in-identifiers
branch
from
February 6, 2021 15:16
533cc9f
to
6de3d46
Compare
vladfrangu
requested changes
Feb 6, 2021
BREAKING CHANGE: Changed UserError identifier from `'ArgumentBooleanInvalidBoolean'` to `Identifiers.ArgumentBoolean`. BREAKING CHANGE: Changed UserError identifier from `'ArgumentCategoryChannelInvalidChannel'` to `Identifiers.ArgumentCategoryChannel`. BREAKING CHANGE: Changed UserError identifier from `'ArgumentChannelMissingChannel'` to `Identifiers.ArgumentChannel`. BREAKING CHANGE: Changed UserError identifier from `'ArgumentDateInvalidNumber'` to `Identifiers.ArgumentDate`. BREAKING CHANGE: Changed UserError identifier from `'ArgumentDateTooSmall'` to `Identifiers.ArgumentDateTooSmall`. BREAKING CHANGE: Changed UserError identifier from `'ArgumentDateTooBig'` to `Identifiers.ArgumentDateTooBig`. BREAKING CHANGE: Changed UserError identifier from `'ArgumentDMChannelInvalidChannel'` to `Identifiers.ArgumentDMChannel`. BREAKING CHANGE: Changed UserError identifier from `'ArgumentFloatInvalidFloat'` to `Identifiers.ArgumentFloat`. BREAKING CHANGE: Changed UserError identifier from `'ArgumentFloatTooSmall'` to `Identifiers.ArgumentFloatTooSmall`. BREAKING CHANGE: Changed UserError identifier from `'ArgumentFloatTooBig'` to `Identifiers.ArgumentFloatTooBig`. BREAKING CHANGE: Changed UserError identifier from `'ArgumentGuildChannelMissingGuild'` to `Identifiers.ArgumentGuildChannelMissingGuild`. BREAKING CHANGE: Changed UserError identifier from `'ArgumentGuildChannelUnknownChannel'` to `Identifiers.ArgumentGuildChannel`. BREAKING CHANGE: Changed UserError identifier from `'ArgumentHyperlinkInvalidURL'` to `Identifiers.ArgumentHyperlink`. BREAKING CHANGE: Changed UserError identifier from `'ArgumentIntegerInvalidNumber'` to `Identifiers.ArgumentInteger`. BREAKING CHANGE: Changed UserError identifier from `'ArgumentIntegerTooSmall'` to `Identifiers.ArgumentIntegerTooSmall`. BREAKING CHANGE: Changed UserError identifier from `'ArgumentIntegerTooBig'` to `Identifiers.ArgumentIntegerTooBig`. BREAKING CHANGE: Changed UserError identifier from `'ArgumentMemberMissingGuild'` to `Identifiers.ArgumentMemberMissingGuild`. BREAKING CHANGE: Changed UserError identifier from `'ArgumentMemberUnknownMember'` to `Identifiers.ArgumentMember`. BREAKING CHANGE: Changed UserError identifier from `'ArgumentMessageUnknownMessage'` to `Identifiers.Message`. BREAKING CHANGE: Changed UserError identifier from `'ArgumentNewsChannelInvalidChannel'` to `Identifiers.NewsChannel`. BREAKING CHANGE: Changed UserError identifier from `'ArgumentNumberInvalidNumber'` to `Identifiers.Number`. BREAKING CHANGE: Changed UserError identifier from `'ArgumentNumberTooSmall'` to `Identifiers.ArgumentNumberTooSmall`. BREAKING CHANGE: Changed UserError identifier from `'ArgumentNumberTooBig'` to `Identifiers.ArgumentNumberTooBig`. BREAKING CHANGE: Changed UserError identifier from `'ArgumentRoleMissingGuild'` to `Identifiers.ArgumentRoleMissingGuild`. BREAKING CHANGE: Changed UserError identifier from `'ArgumentRoleUnknownRole'` to `Identifiers.Role`. BREAKING CHANGE: Changed UserError identifier from `'ArgumentStringTooShort'` to `Identifiers.ArgumentStringTooShort`. BREAKING CHANGE: Changed UserError identifier from `'ArgumentStringTooLong'` to `Identifiers.ArgumentStringTooLong`. BREAKING CHANGE: Changed UserError identifier from `'ArgumentTextChannelInvalidChannel'` to `Identifiers.TextChannel`. BREAKING CHANGE: Changed UserError identifier from `'ArgumentUserUnknownUser'` to `Identifiers.User`. BREAKING CHANGE: Changed UserError identifier from `'ArgumentVoiceChannelInvalidChannel'` to `Identifiers.VoiceChannel`. BREAKING CHANGE: Changed UserError identifier from `'CommandDisabled'` to `Identifiers.CommandDisabled`. BREAKING CHANGE: Changed UserError identifier from `'UnavailableArgument'` to `Identifiers.ArgsUnavailable`. BREAKING CHANGE: Changed UserError identifier from `'MissingArguments'` to `Identifiers.ArgsMissing`. BREAKING CHANGE: Changed UserError identifier from `'Cooldown'` to `Identifiers.PreconditionCooldown`. BREAKING CHANGE: Changed UserError identifier from `'DMOnly'` to `Identifiers.PreconditionDMOnly`. BREAKING CHANGE: Changed UserError identifier from `'GuildOnly'` to `Identifiers.PreconditionGuildOnly`. BREAKING CHANGE: Changed UserError identifier from `'NSFW'` to `Identifiers.PreconditionNSFW`. BREAKING CHANGE: Changed UserError identifier from `'Permissions'` to `Identifiers.PreconditionPermissions`.
kyranet
force-pushed
the
feat/expose-all-built-in-identifiers
branch
from
February 6, 2021 15:31
6de3d46
to
3165caf
Compare
favna
approved these changes
Feb 6, 2021
vladfrangu
approved these changes
Feb 6, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.