    def _load_messages(self, messages_path):
        # type: (str) -> None
        '''
        Loads messages from a YAML file.

        Args:
            messages_path (str): Path to messages file.
        '''
        self.messages = yaml.safe_load(open(messages_path))
Loads messages from a YAML file.

Args:
messages_path (str): Path to messages file.
securitybot/bot.py