code: async def on_isupport_maxchannels(self, value):
          
          if 'CHANTYPES' in self._isupport and 'CHANLIMIT' not in self._isupport:
              self._channel_limits = {}
  
              prefixes = self._isupport['CHANTYPES']
              # Assume the limit is for all types of channels. Make a single group for all types.
              self._channel_limits[frozenset(prefixes)] = int(value)
              for prefix in prefixes:
                  self._channel_limit_groups[prefix] = frozenset(prefixes)
docs: Old version of CHANLIMIT.