code: def get_channels(self, condensed=False):
          '''Grabs all channels in the slack team
  
          Args:
              condensed (bool): if true triggers list condensing functionality
  
          Returns:
              dic: Dict of channels in Slack team.
                  See also: https://api.slack.com/methods/channels.list
          '''
  
          channel_list = self.slack_client.api_call('channels.list')
          if not channel_list.get('ok'):
              return None
  
          if condensed:
              channels = [{'id': item.get('id'), 'name': item.get('name')}
                          for item in channel_list.get('channels')]
              return channels
          else:
              return channel_lisf get_channels(self, condensed=False):
          '''Grabs all channels in the slack team
  
          Args:
              condensed (bool): if true triggers list condensing functionality
  
          Returns:
              dic: Dict of channels in Slack team.
                  See also: https://api.slack.com/methods/channels.list
          '''
  
          channel_list = self.slack_client.api_call('channels.list')
          if not channel_list.get('ok'):
              return None
  
          if condensed:
              channels = [{'id': item.get('id'), 'name': item.get('name')}
                          for item in channel_list.get('channels')]
              return channels
          else:
              return channel_list
docs: Grabs all channels in the slack team
  
          Args:
              condensed (bool): if true triggers list condensing functionality
  
          Returns:
              dic: Dict of channels in Slack team.
                  See also: https://api.slack.com/methods/channels.list