title: Discord.Js Bot to create invites for users
body: <p>I need to figure out how to create an invite link for users so that they can track invites. Currently I have this, however this created the invite for the Bot.</p>
  <pre><code>const channel = client.channels.cache.find(channel =&gt; channel.id === config.server.channelId)
  let invite = channel.createInvite({maxAge: 0, maxUses: 0});
  </code></pre>