From 2626efa37cdaaf0dcc9282ba42efff2935a44a7c Mon Sep 17 00:00:00 2001 From: Nick80835 Date: Tue, 16 Feb 2021 19:08:52 -0500 Subject: [PATCH] forgot to remove some stuff --- ubot/command_handler.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ubot/command_handler.py b/ubot/command_handler.py index 901316b..d2dbcfe 100644 --- a/ubot/command_handler.py +++ b/ubot/command_handler.py @@ -9,9 +9,9 @@ from .fixes import inline_photos class CommandHandler(): - pattern_template = "(?is)^{0}({1})(?: |\n|$|_|@{2}(?: |\n|$|_))(.*)" - simple_pattern_template = "(?is)^({0})(?: |\n|$)(.*)" - raw_pattern_template = "(?is){0}" + pattern_template = "^{0}({1})(?: |\n|$|_|@{2}(?: |\n|$|_))(.*)" + simple_pattern_template = "^({0})(?: |\n|$)(.*)" + raw_pattern_template = "{0}" incoming_commands = [] inline_photo_commands = []