aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2020-12-16 23:50:23 +0000
committerGravatar GitHub <[email protected]>2020-12-16 23:50:23 +0000
commit14e71609e8e40be0832b66df7a0c309ba262659a (patch)
treec9d33e4564be2f8de3b520a1306ce46cac11d113
parentMerge pull request #1283 from python-discord/remove-selenium (diff)
Update verification.py
-rw-r--r--bot/exts/moderation/verification.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/exts/moderation/verification.py b/bot/exts/moderation/verification.py
index c42c6588f..7aa559617 100644
--- a/bot/exts/moderation/verification.py
+++ b/bot/exts/moderation/verification.py
@@ -565,11 +565,11 @@ class Verification(Cog):
raw_member = await self.bot.http.get_member(member.guild.id, member.id)
- # If the user has the is_pending flag set, they will be using the alternate
+ # If the user has the pending flag set, they will be using the alternate
# gate and will not need a welcome DM with verification instructions.
# We will send them an alternate DM once they verify with the welcome
# video.
- if raw_member.get("is_pending"):
+ if raw_member.get("pending"):
await self.member_gating_cache.set(member.id, True)
# TODO: Temporary, remove soon after asking joe.