discord js fetchinvite code example
Example: discord.js create unexipable invite
// Create permanent invite:
message.channel.createInvite({ maxAge: 0, maxUses: 0 });
// Create permanent invite:
message.channel.createInvite({ maxAge: 0, maxUses: 0 });