diff --git a/commands/CommandInfoCovid.js b/commands/CommandInfoCovid.js index 277ba7d15c1c44a69546579691379549ae5fb694..ca5850ddc8ce563ec551be582d32e72d51551b5b 100644 --- a/commands/CommandInfoCovid.js +++ b/commands/CommandInfoCovid.js @@ -91,7 +91,7 @@ class CommandInfoCovid{ } shouldRespond(message){ - return message.content.test(this.quiRegExp); + return this.quiRegExp.test(message.content); } }