From 03e96976d97d79985d580b78b3cc02541940a198 Mon Sep 17 00:00:00 2001 From: Pr0metheus42 Date: Sun, 29 Nov 2020 13:02:57 +0100 Subject: [PATCH] Clean animated emotes in Message#cleanContent (#1024) --- lib/structures/Message.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/structures/Message.js b/lib/structures/Message.js index d7b58b169..3c2cb147e 100644 --- a/lib/structures/Message.js +++ b/lib/structures/Message.js @@ -248,7 +248,7 @@ class Message extends Base { } get cleanContent() { - let cleanContent = this.content.replace(/<(:\w+:)[0-9]+>/g, "$1"); + let cleanContent = this.content.replace(//g, "$1"); let authorName = this.author.username; if(this.channel.guild) {