title: I'm using discord.py and my instant invite command isn't working
body: <p>I found this piece of code on another post that could generate an instant invite for the server, but it's not working for me! There are no shown errors or problems in the console either. Its just when I use the command, Discord does literally nothing!</p>
  <p>Here is my code:</p>
  <pre><code>@client.command()
  async def invite(ctx):
      link = await ctx.create_invite()
      await ctx.channel.send(link)
  </code></pre>
  <p>Any idea of what's happening?</p>