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

Fix null label in d.moderate.ts preventing mod actions on users with long names #825

Merged
merged 4 commits into from
Aug 5, 2024

Conversation

theimperious1
Copy link
Collaborator

Since the label failed to set due to the label being longer than 45 chars, the label was null/undefined and discord.js expected a string. Could be prevented in the future by doing checks on things that may exceed limits, and or handling the errors by setting a placeholder upon error.

Fix issue #824.

@LunaUrsa LunaUrsa merged commit c943672 into main Aug 5, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants