-
-
Notifications
You must be signed in to change notification settings - Fork 465
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: pass reason
to the correct method in AutoModRule
#1960
Conversation
Signed-off-by: Om <92863779+Om1609@users.noreply.github.com>
reason
from being passed to AutoModRulereason
from being passed to AutoModRule
Please make a changelog entry as well |
Co-authored-by: plun1331 <49261529+plun1331@users.noreply.github.com> Signed-off-by: Om <92863779+Om1609@users.noreply.github.com>
for more information, see https://pre-commit.ci
Signed-off-by: Om <92863779+Om1609@users.noreply.github.com>
reason
from being passed to AutoModRulereason
to the correct method in AutoModRule
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #1960 +/- ##
=======================================
Coverage 33.32% 33.32%
=======================================
Files 97 97
Lines 18901 18901
=======================================
Hits 6298 6298
Misses 12603 12603
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report in Codecov by Sentry.
|
Signed-off-by: BobDotCom <71356958+BobDotCom@users.noreply.github.com>
* Remove `reason` from being passed to AutoModRule Signed-off-by: Om <92863779+Om1609@users.noreply.github.com> * Update discord/guild.py Co-authored-by: plun1331 <49261529+plun1331@users.noreply.github.com> Signed-off-by: Om <92863779+Om1609@users.noreply.github.com> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update CHANGELOG.md Signed-off-by: Om <92863779+Om1609@users.noreply.github.com> * Update CHANGELOG.md Signed-off-by: BobDotCom <71356958+BobDotCom@users.noreply.github.com> --------- Signed-off-by: Om <92863779+Om1609@users.noreply.github.com> Signed-off-by: BobDotCom <71356958+BobDotCom@users.noreply.github.com> Co-authored-by: plun1331 <49261529+plun1331@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: BobDotCom <71356958+BobDotCom@users.noreply.github.com>
Summary
AutoModRule
does not accept areason
parameter. This raises an unexpected keyword argument error.This PR fixes it.
Information
examples, ...).
Checklist
type: ignore
comments were used, a comment is also left explaining why.