aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Leon Sandøy <[email protected]>2019-01-11 11:48:13 +0100
committerGravatar GitHub <[email protected]>2019-01-11 11:48:13 +0100
commitf00c324807c4e9929a8eb7cf3e4302203db98663 (patch)
tree1af5181301fa271165ccef7ab268c92426fd5ed5
parentMerge pull request #232 from python-discord/antispam-mute-infr (diff)
parentUsing stronger language in the message and emphazising the 'strongly recommen... (diff)
Merge pull request #267 from python-discord/token-detection-warning-strong-language
Using firmer language in the token removal message to the user
-rw-r--r--bot/cogs/token_remover.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/bot/cogs/token_remover.py b/bot/cogs/token_remover.py
index 8277513a7..c1a0e18ba 100644
--- a/bot/cogs/token_remover.py
+++ b/bot/cogs/token_remover.py
@@ -16,8 +16,9 @@ log = logging.getLogger(__name__)
DELETION_MESSAGE_TEMPLATE = (
"Hey {mention}! I noticed you posted a seemingly valid Discord API "
- "token in your message and have removed your message to prevent abuse. "
- "We recommend regenerating your token regardless, which you can do here: "
+ "token in your message and have removed your message. "
+ "We **strongly recommend** regenerating your token as it's probably "
+ "been compromised. You can do that here: "
"<https://discordapp.com/developers/applications/me>\n"
"Feel free to re-post it with the token removed. "
"If you believe this was a mistake, please let us know!"