code: async def create_category(self, name, *, overwrites=None, reason=None):
          
          data = await self._create_channel(name, overwrites, ChannelType.category, reason=reason)
          channel = CategoryChannel(state=self._state, guild=self, data=data)
  
          # temporarily add to the cache
          self._channels[channel.id] = channel
          return channel
docs: |coro|
  
          Same as :meth:`create_text_channel` except makes a :class:`CategoryChannel` instead.
  
          .. note::
  
              The ``category`` parameter is not supported in this function since categories
              cannot have categories.