    def user_lookup(self, id):
        # type: (str) -> User
        '''
        Looks up a user by their ID.

        Args:
            id (str): The ID of a user to look up, formatted like U12345678.
        Returns:
            (dict): All known information about that user.
        '''
        if id not in self.users:
            raise SecurityBotException('User {} not found'.format(id))
        return self.users[id]
Looks up a user by their ID.

Args:
id (str): The ID of a user to look up, formatted like U12345678.
Returns:
(dict): All known information about that user.
securitybot/bot.py