diff options
| author | 2019-10-25 15:48:25 -0700 | |
|---|---|---|
| committer | 2019-10-25 17:11:45 -0700 | |
| commit | e17fc1e7583d70545c067410cb7431afb8956af4 (patch) | |
| tree | 0c2c263b929dcaf060030aae55ff770d7fea5ebe | |
| parent | InfractionScheduler: remove redundant logging (diff) | |
Superstarify: fix incorrect infraction type check in _pardon_action
| -rw-r--r-- | bot/cogs/moderation/superstarify.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/cogs/moderation/superstarify.py b/bot/cogs/moderation/superstarify.py index 803ecee1c..598b5a40e 100644 --- a/bot/cogs/moderation/superstarify.py +++ b/bot/cogs/moderation/superstarify.py @@ -192,7 +192,7 @@ class Superstarify(InfractionScheduler, Cog): user = guild.get_member(infraction["user"]) # Don't bother sending a notification if the user left the guild. - if infraction["type"] != "mute" or not user: + if infraction["type"] != "superstar" or not user: return {} # DM the user about the expiration. |