aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Steele <[email protected]>2020-12-17 22:19:42 -0500
committerGravatar Steele <[email protected]>2020-12-17 22:19:42 -0500
commitfc1f7ac9747a747f902a16de4cd6865c5b394568 (patch)
tree7d751f8c5fa411ab10dc824df0e03986a9bc1f4c
parentUpdate verification.py (diff)
User gets the bot DM when verified via `!verify`.
`ALTERNATE_VERIFIED_MESSAGE` now begins "You're now verified!" instead of "Thanks for accepting our rules!".
-rw-r--r--bot/exts/moderation/verification.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bot/exts/moderation/verification.py b/bot/exts/moderation/verification.py
index 7aa559617..c413d36cf 100644
--- a/bot/exts/moderation/verification.py
+++ b/bot/exts/moderation/verification.py
@@ -55,7 +55,7 @@ If you'd like to unsubscribe from the announcement notifications, simply send `!
"""
ALTERNATE_VERIFIED_MESSAGE = f"""
-Thanks for accepting our rules!
+You're now verified!
You can find a copy of our rules for reference at <https://pythondiscord.com/pages/rules>.
@@ -861,6 +861,7 @@ class Verification(Cog):
return
await user.add_roles(developer_role)
+ await safe_dm(user.send(ALTERNATE_VERIFIED_MESSAGE))
log.trace(f'Developer role successfully applied to {user.id}')
await ctx.send(f'{constants.Emojis.check_mark} Developer role applied to {user}.')