From a8e85349f22435c5bdb12287f6f632f95ee9389b Mon Sep 17 00:00:00 2001 From: MarkKoz Date: Fri, 25 Oct 2019 00:00:10 -0700 Subject: Superstarify: ignore member update event when applying --- bot/cogs/moderation/superstarify.py | 1 + 1 file changed, 1 insertion(+) 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) -- cgit v1.2.3