diff options
| -rw-r--r-- | bot/monkey_patches.py | 3 | ||||
| -rw-r--r-- | bot/utils/regex.py | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/bot/monkey_patches.py b/bot/monkey_patches.py index b5c0de8d9..4840fa454 100644 --- a/bot/monkey_patches.py +++ b/bot/monkey_patches.py @@ -1,3 +1,4 @@ +import re from datetime import timedelta import arrow @@ -5,9 +6,9 @@ from discord import Forbidden, http from discord.ext import commands from bot.log import get_logger -from bot.utils.regex import MESSAGE_ID_RE log = get_logger(__name__) +MESSAGE_ID_RE = re.compile(r'(?P<message_id>[0-9]{15,20})$') class Command(commands.Command): diff --git a/bot/utils/regex.py b/bot/utils/regex.py deleted file mode 100644 index 205c3ae34..000000000 --- a/bot/utils/regex.py +++ /dev/null @@ -1,3 +0,0 @@ -import re - -MESSAGE_ID_RE = re.compile(r'(?P<message_id>[0-9]{15,20})$') |