diff options
| author | 2019-10-25 15:00:20 +0200 | |
|---|---|---|
| committer | 2019-10-25 15:00:20 +0200 | |
| commit | 59914bf3e741d654d999ff5eb7f9c12621628c6b (patch) | |
| tree | f1d05ecd52cf2c9c13977a06d92b1f3dca0b7650 | |
| parent | Autodelete offensive messages after one week. (diff) | |
Revert whitespace changes
| -rw-r--r-- | bot/cogs/filtering.py | 12 | 
1 files changed, 6 insertions, 6 deletions
| diff --git a/bot/cogs/filtering.py b/bot/cogs/filtering.py index d1d28ac10..4c99be0af 100644 --- a/bot/cogs/filtering.py +++ b/bot/cogs/filtering.py @@ -19,13 +19,13 @@ from bot.constants import (  log = logging.getLogger(__name__)  INVITE_RE = re.compile( -    r"(?:discord(?:[\.,]|dot)gg|"  # Could be discord.gg/ -    r"discord(?:[\.,]|dot)com(?:\/|slash)invite|"  # or discord.com/invite/ +    r"(?:discord(?:[\.,]|dot)gg|"                     # Could be discord.gg/ +    r"discord(?:[\.,]|dot)com(?:\/|slash)invite|"     # or discord.com/invite/      r"discordapp(?:[\.,]|dot)com(?:\/|slash)invite|"  # or discordapp.com/invite/ -    r"discord(?:[\.,]|dot)me|"  # or discord.me -    r"discord(?:[\.,]|dot)io"  # or discord.io. -    r")(?:[\/]|slash)"  # / or 'slash' -    r"([a-zA-Z0-9]+)",  # the invite code itself +    r"discord(?:[\.,]|dot)me|"                        # or discord.me +    r"discord(?:[\.,]|dot)io"                         # or discord.io. +    r")(?:[\/]|slash)"                                # / or 'slash' +    r"([a-zA-Z0-9]+)",                                # the invite code itself      flags=re.IGNORECASE  ) | 
