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: added an error for caps in command_option. #918

Merged
merged 1 commit into from
Oct 4, 2023
Merged

feat: added an error for caps in command_option. #918

merged 1 commit into from
Oct 4, 2023

Conversation

Jaskowicz1
Copy link
Contributor

@Jaskowicz1 Jaskowicz1 commented Oct 4, 2023

This PR adds an error message into the constructor of command_option. This is just to make it more user-friendly for people, rather than discord just returning an error.

Code change checklist

  • I have ensured that all methods and functions are fully documented using doxygen style comments.
  • My code follows the coding style guide.
  • I tested that my change works before raising the PR.
  • I have ensured that I did not break any existing API calls.
  • I have not built my pull request using AI, a static analysis tool or similar without any human oversight.

@netlify
Copy link

netlify bot commented Oct 4, 2023

Deploy Preview for dpp-dev ready!

Name Link
🔨 Latest commit 067126b
🔍 Latest deploy log https://app.netlify.com/sites/dpp-dev/deploys/651d2737c7104a0008249da4
😎 Deploy Preview https://deploy-preview-918--dpp-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@Jaskowicz1 Jaskowicz1 added enhancement New feature or request code Improvements or additions to code. labels Oct 4, 2023
@braindigitalis braindigitalis merged commit 3d293ba into brainboxdotcc:dev Oct 4, 2023
28 of 29 checks passed
@Jaskowicz1 Jaskowicz1 deleted the command-errors branch October 14, 2023 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code Improvements or additions to code. enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants