feat: Move additional event handler functionality to Client#1907
Merged
Lulalaby merged 14 commits intoPycord-Development:masterfrom Feb 23, 2023
Merged
feat: Move additional event handler functionality to Client#1907Lulalaby merged 14 commits intoPycord-Development:masterfrom
Client#1907Lulalaby merged 14 commits intoPycord-Development:masterfrom
Conversation
VincentRPS
previously requested changes
Feb 5, 2023
dcb9f09 to
3d67cbe
Compare
3d67cbe to
d8bb67c
Compare
for more information, see https://pre-commit.ci
Client
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #1907 +/- ##
==========================================
- Coverage 33.37% 33.36% -0.02%
==========================================
Files 97 97
Lines 18847 18851 +4
==========================================
- Hits 6290 6289 -1
- Misses 12557 12562 +5
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
for more information, see https://pre-commit.ci
…dhozic/pycord into feat/improve_event_handlers
ClientClient
Lulalaby
approved these changes
Feb 23, 2023
VincentRPS
approved these changes
Feb 23, 2023
NeloBlivion
added a commit
to NeloBlivion/pycord
that referenced
this pull request
Feb 26, 2023
9 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The pull request introduces changes proposed in #1906 .
It allows the user to register multiple
on_event handlers inside theClientobjects instead of just inBot.Also add support to allow
@listenwithout()at the end.Information
examples, ...).
Checklist
type: ignorecomments were used, a comment is also left explaining why.