Skip to content

Add missing arguments to notify_infraction call#2055

Merged
MarkKoz merged 2 commits into
mainfrom
fix-issue-2053
Jan 26, 2022
Merged

Add missing arguments to notify_infraction call#2055
MarkKoz merged 2 commits into
mainfrom
fix-issue-2053

Conversation

@TizzySaurus
Copy link
Copy Markdown
Contributor

Closes #2053.

Fixes an issue caused by a missed migration in #1951 (if a user attempted to change their nickname when superstarified, an error would raise when trying to notify them that they can't change nickname due to being superstarified).

@TizzySaurus TizzySaurus added t: bug Something isn't working a: moderation Related to community moderation functionality: (moderation, defcon, verification) p: 1 - high High Priority s: needs review Author is waiting for someone to review and approve labels Jan 22, 2022
Copy link
Copy Markdown
Contributor

@ToxicKidz ToxicKidz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@MarkKoz MarkKoz enabled auto-merge (rebase) January 26, 2022 05:35
@MarkKoz MarkKoz merged commit 10186af into main Jan 26, 2022
@MarkKoz MarkKoz deleted the fix-issue-2053 branch January 26, 2022 05:37
@Xithrius Xithrius removed the s: needs review Author is waiting for someone to review and approve label Feb 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

a: moderation Related to community moderation functionality: (moderation, defcon, verification) p: 1 - high High Priority t: bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TypeError: notify_infraction() missing 2 required positional arguments: 'bot' and 'infr_id'

4 participants