code: def get_userid_from_botid(self, botid):
          '''Perform a lookup of bots.info to resolve a botid to a userid
  
          Args:
              botid (string): Slack botid to lookup.
          Returns:
              string: userid value
          '''
          botinfo = self.slack_client.api_call('bots.info', bot=botid)
          if botinfo['ok'] is True:
              return botinfo['bot'].get('user_id')
          else:
              return botif get_userid_from_botid(self, botid):
          '''Perform a lookup of bots.info to resolve a botid to a userid
  
          Args:
              botid (string): Slack botid to lookup.
          Returns:
              string: userid value
          '''
          botinfo = self.slack_client.api_call('bots.info', bot=botid)
          if botinfo['ok'] is True:
              return botinfo['bot'].get('user_id')
          else:
              return botid
docs: Perform a lookup of bots.info to resolve a botid to a userid
  
          Args:
              botid (string): Slack botid to lookup.
          Returns:
              string: userid value