feat(Util): make cleanContent take a channel instead of a message (#5535)

This commit is contained in:
Advaith
2021-04-18 09:53:09 -07:00
committed by GitHub
parent 596832371c
commit f1c0c043b5
3 changed files with 12 additions and 12 deletions

View File

@@ -323,7 +323,7 @@ class Message extends Base {
*/
get cleanContent() {
// eslint-disable-next-line eqeqeq
return this.content != null ? Util.cleanContent(this.content, this) : null;
return this.content != null ? Util.cleanContent(this.content, this.channel) : null;
}
/**