Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to create an invite 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);
Source by discord.js.org #
 
PREVIOUS NEXT
Tagged: #create #invite
ADD COMMENT
Topic
Name
9+3 =