diff --git a/dodsorfas/Skypebot/helper.js b/dodsorfas/Skypebot/helper.js index 1740376..bc03890 100644 --- a/dodsorfas/Skypebot/helper.js +++ b/dodsorfas/Skypebot/helper.js @@ -5,5 +5,5 @@ exports.send = function(session, texta) { } exports.regex = function(command) { - return RegExp ("^((@?Dodsorbot|@28:b8381d78-ab09-496c-b382-860a98fa1dc3)<\\/at>\\s)?(" + command + ")", "i"); + return RegExp ("^((Edited previous message: )?\\n?(@?Dodsorbot|@28:b8381d78-ab09-496c-b382-860a98fa1dc3)<\\/at>\\s)?(" + command + ")", "i"); } \ No newline at end of file