getPackageID('be.bastelstu.chat'); } if ($this->packageID === $chatPackageID && $this->identifier === 'plain') { return true; } $sql = "SELECT COUNT(*) FROM chat1_command_trigger WHERE commandID = ?"; $statement = WCF::getDB()->prepare($sql); $statement->execute([ $this->commandID, ]); return $statement->fetchSingleColumn() > 0; } }