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: commands should no longer crash when no context is defined #1312

Merged
merged 1 commit into from
Oct 30, 2024

Conversation

Jaskowicz1
Copy link
Contributor

This PR fixes #1310, fixing a crash when contexts is null (usually when a basic command is made).

Closes #1310

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.

@Jaskowicz1 Jaskowicz1 self-assigned this Oct 30, 2024
@github-actions github-actions bot closed this Oct 30, 2024
@github-actions github-actions bot added the code Improvements or additions to code. label Oct 30, 2024
@Jaskowicz1 Jaskowicz1 added the bug Something isn't working label Oct 30, 2024
@braindigitalis braindigitalis changed the base branch from master to dev October 30, 2024 20:51
@brainboxdotcc brainboxdotcc deleted a comment from github-actions bot Oct 30, 2024
@Jaskowicz1 Jaskowicz1 merged commit d45f87e into dev Oct 30, 2024
122 of 130 checks passed
@Jaskowicz1 Jaskowicz1 deleted the command_fix branch October 30, 2024 21:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working code Improvements or additions to code.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to register a slash command without setting the contexts explicitly
2 participants