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: vatsim events max fields #4

Merged
merged 5 commits into from
Jan 20, 2024

Conversation

benw202
Copy link
Member

@benw202 benw202 commented Jan 18, 2024

Description

Limits the amount of fetched Vatsim events to 5 instead of 6. We can now only ever populate 25 fields in this command, rectifying the error

Also adds an error embed to the command handlers to make it more clear on what went wrong (this isn't specific to the vatsim events command) as an example using this command:

image

The application is left thinking, as the error is outside of the command, but in the handler itself. Other commands will continue to run and the /vatsim events command would time out after 15 minutes as per Discord guidelines.

Test Results

image

Discord Username

benw8484

@benw202 benw202 marked this pull request as ready for review January 18, 2024 19:56
@benw202 benw202 requested a review from pdellaert January 19, 2024 10:36
@benw202 benw202 merged commit 16bd70c into flybywiresim:staging Jan 20, 2024
3 checks passed
@benw202 benw202 deleted the vatsim_events_fix branch January 20, 2024 12:06
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