aboutsummaryrefslogtreecommitdiffstats
path: root/bot/monkey_patches.py
diff options
context:
space:
mode:
Diffstat (limited to 'bot/monkey_patches.py')
-rw-r--r--bot/monkey_patches.py3
1 files changed, 2 insertions, 1 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):