aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar sco1 <[email protected]>2018-12-29 21:08:37 -0500
committerGravatar sco1 <[email protected]>2018-12-29 21:08:37 -0500
commita999fbbead4c86ee77bb727820ccef1bfc6c300e (patch)
treeb79877d6f07dc5d702103da1505893040fd31058
parentRemove invite filter deblanking (diff)
Remove the cursed trailing whitespace
-rw-r--r--bot/cogs/filtering.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/cogs/filtering.py b/bot/cogs/filtering.py
index c21b45648..f5811d9d2 100644
--- a/bot/cogs/filtering.py
+++ b/bot/cogs/filtering.py
@@ -217,7 +217,7 @@ class Filtering:
async def _has_invites(self, text: str) -> bool:
"""
- Returns True if the text contains an invite which is not on the guild_invite_whitelist in
+ Returns True if the text contains an invite which is not on the guild_invite_whitelist in
config.yml
Attempts to catch some of common ways to try to cheat the system.
@@ -237,7 +237,7 @@ class Filtering:
guild = response.get("guild")
if guild is None:
# Lack of a "guild" key in the JSON response indicates either an group DM invite, an
- # expired invite, or an invalid invite. The API does not currently differentiate
+ # expired invite, or an invalid invite. The API does not currently differentiate
# between invalid and expired invites
return True