def check_autorespond()

in bots/triage-slackbot/triage_slackbot/category.py [0:0]


    def check_autorespond(self) -> "RequestCategory":
        if self.autorespond and not self.autorespond_message:
            raise ValidationError("autorespond_message must be set if autorespond is True")
        return self