diff --git a/plugins/forbiddenword.lua b/plugins/forbiddenword.lua index a8eb5e9..8d81326 100644 --- a/plugins/forbiddenword.lua +++ b/plugins/forbiddenword.lua @@ -1,9 +1,11 @@ local time = os.time(); + function plugin(message) - if(message.match("purple"))then + if(string.match(message, "purple"))then local response = os.time() - time; time = os.time(); return response; end + return nil; end \ No newline at end of file