From 21e9cb6053001b03d3c730b97a6b989c01ba4c5a Mon Sep 17 00:00:00 2001 From: Elias Fleckenstein Date: Sat, 5 Mar 2022 21:59:27 +0100 Subject: Fixes --- common.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'common.js') diff --git a/common.js b/common.js index 1756387..46fe05a 100644 --- a/common.js +++ b/common.js @@ -102,8 +102,5 @@ module.exports.listChangeCommand = (action, list, status) => new Object({ } }) -module.exports.stripPings = str => str - .replace(/<@!/g, "<@​!") - .replace(/<@&/g, "<@​&") - .replace(/@here/g, "@​here") - .replace(/@everyone/g, "@​everyone") +module.exports.stripPings = str => str.replace(/@/g, "\@") + -- cgit v1.2.3