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: Restore overriding on_application_command_error via listener #2044

Merged
merged 5 commits into from May 7, 2023

Conversation

NeloBlivion
Copy link
Member

Summary

Reverts an out of scope change made in #1907 so the default on_application_command_error won't fire if listeners for it exist.
Side note: should changelog be updated for this?

Information

  • This PR fixes an issue.
  • This PR adds something new (e.g. new method or parameters).
  • This PR is a breaking change (e.g. methods or parameters removed/renamed).
  • This PR is not a code change (e.g. documentation, README, typehinting,
    examples, ...).

Checklist

  • I have searched the open pull requests for duplicates.
  • If code changes were made then they have been tested.
    • I have updated the documentation to reflect the changes.
  • If type: ignore comments were used, a comment is also left explaining why.
  • I have updated the changelog to include these changes.

@NeloBlivion NeloBlivion requested a review from a team as a code owner May 4, 2023 20:54
@Lulalaby Lulalaby removed the request for review from CodeWithSwastik May 4, 2023 20:56
@Lulalaby
Copy link
Member

Lulalaby commented May 4, 2023

Yes please update the changelog with info that this is a fix

@Lulalaby Lulalaby enabled auto-merge (squash) May 4, 2023 20:59
@Lulalaby Lulalaby disabled auto-merge May 4, 2023 20:59
@Lulalaby Lulalaby requested a review from plun1331 May 4, 2023 21:00
@Lulalaby Lulalaby added bug Something isn't working priority: high High Priority changelog needed labels May 4, 2023
Lulalaby
Lulalaby previously approved these changes May 4, 2023
@codecov
Copy link

codecov bot commented May 4, 2023

Codecov Report

Merging #2044 (d33a5f8) into master (2abfa34) will decrease coverage by 0.01%.
The diff coverage is 0.00%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2044      +/-   ##
==========================================
- Coverage   33.24%   33.23%   -0.01%     
==========================================
  Files          97       97              
  Lines       19036    19038       +2     
==========================================
  Hits         6328     6328              
- Misses      12708    12710       +2     
Flag Coverage Δ
macos-latest-3.10 33.22% <0.00%> (-0.01%) ⬇️
macos-latest-3.11 33.22% <0.00%> (-0.01%) ⬇️
macos-latest-3.8 33.23% <0.00%> (-0.01%) ⬇️
macos-latest-3.9 33.23% <0.00%> (-0.01%) ⬇️
ubuntu-latest-3.10 33.22% <0.00%> (-0.01%) ⬇️
ubuntu-latest-3.11 33.22% <0.00%> (-0.01%) ⬇️
ubuntu-latest-3.8 33.23% <0.00%> (-0.01%) ⬇️
ubuntu-latest-3.9 33.23% <0.00%> (-0.01%) ⬇️
windows-latest-3.10 33.22% <0.00%> (-0.01%) ⬇️
windows-latest-3.11 33.22% <0.00%> (-0.01%) ⬇️
windows-latest-3.8 33.23% <0.00%> (-0.01%) ⬇️
windows-latest-3.9 33.23% <0.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
discord/bot.py 18.45% <0.00%> (-0.09%) ⬇️

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2abfa34...d33a5f8. Read the comment docs.

@Lulalaby
Copy link
Member

Lulalaby commented May 4, 2023

Geez fuck off pre commit bot

Lulalaby
Lulalaby previously approved these changes May 4, 2023
@Lulalaby
Copy link
Member

Lulalaby commented May 4, 2023

Mhh seems like readthedocs is completely broken. I'm gonna look into that after I've slept.
Except Bob is faster.

Signed-off-by: UK <41271523+NeloBlivion@users.noreply.github.com>
@Lulalaby Lulalaby enabled auto-merge (squash) May 7, 2023 15:31
@Lulalaby Lulalaby merged commit d519e95 into Pycord-Development:master May 7, 2023
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority: high High Priority
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants