Jak utworzyć zaproszenie discord.js

// Create an invite to a channel
channel.createInvite()
  .then(invite => console.log(`Created an invite with a code of ${invite.code}`))
  .catch(console.error);
BlueCrafter6