diff options
| author | 2019-10-25 00:00:10 -0700 | |
|---|---|---|
| committer | 2019-10-25 15:32:21 -0700 | |
| commit | a8e85349f22435c5bdb12287f6f632f95ee9389b (patch) | |
| tree | f657d6a788e5d9c3dec40a374d0f09d2c910f985 | |
| parent | InfractionScheduler: prevent duplicate rescheduling of infractions (diff) | |
Superstarify: ignore member update event when applying
| -rw-r--r-- | bot/cogs/moderation/superstarify.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bot/cogs/moderation/superstarify.py b/bot/cogs/moderation/superstarify.py index a534ec762..06a68d89e 100644 --- a/bot/cogs/moderation/superstarify.py +++ b/bot/cogs/moderation/superstarify.py @@ -135,6 +135,7 @@ class Superstarify(InfractionScheduler, Cog): expiry_str = format_infraction(infraction["expires_at"]) # Apply the infraction and schedule the expiration task. + self.mod_log.ignore(constants.Event.member_update, member.id) await member.edit(nick=forced_nick, reason=reason) self.schedule_task(ctx.bot.loop, infraction["id"], infraction) |