title: Unable to create a discord channel on discord.py 1.7.3
body: <p>I've been trying to create some commands using discord.py. I've created a command which creates a channel based on the text a user inputs using the following code:</p>
  <pre><code>import discord
  import os
  
  client = discord.Client()
  
  @client.event
  async def on_message(message):
    if message.author == client.user:
      return
    msg = message.content
    if msg.startswith('$new'):
      guild = discord.Guild
      await guild.create_text_channel(msg.split(' ',1)[1])
  </code></pre>
  <p>When a command is entered into discord this is the output:</p>
  <pre><code>Ignoring exception in on_message
  Traceback (most recent call last):
    File &quot;/home/runner/Switch-Bot/venv/lib/python3.8/site-packages/discord/client.py&quot;, line 343, in _run_event
      await coro(*args, **kwargs)
    File &quot;main.py&quot;, line 30, in on_message
      if msg.startswith('$new'):
  TypeError: create_text_channel() missing 1 required positional argument: 'name'
  </code></pre>