aboutsummaryrefslogtreecommitdiff
path: root/common.js
diff options
context:
space:
mode:
authorElias Fleckenstein <eliasfleckenstein@web.de>2022-03-05 21:59:27 +0100
committerElias Fleckenstein <eliasfleckenstein@web.de>2022-03-05 21:59:27 +0100
commit21e9cb6053001b03d3c730b97a6b989c01ba4c5a (patch)
treecf03bc31d97f47e6415afccb3d6f1e4a14427274 /common.js
parent48faec149c25c22bbaeaacddcf025c72336b7543 (diff)
downloadfurrybot-discord-21e9cb6053001b03d3c730b97a6b989c01ba4c5a.tar.xz
Fixes
Diffstat (limited to 'common.js')
-rw-r--r--common.js7
1 files changed, 2 insertions, 5 deletions
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, "\@")
+