Danger
This documentation is for the discord.js 8.2 branch called discordv8 maintained by macdja38. You’re probably looking for documentation on version 9 or higher, which is available on the other docs site.
Invite¶
Used to represent data of an invite.
Attributes¶
maxAge¶
Number, how long (in seconds) the invite has since creation before expiring.
code¶
String, the invite code.
channel¶
The ServerChannel the invite is for.
revoked¶
Boolean, whether the invite has been revoked or not.
createdAt¶
Number, timestamp of when the invite was created.
temporary¶
Boolean, whether the invite is temporary or not.
uses¶
Number, uses of the invite remaining.
maxUses¶
Number, maximum uses of the invite.
xkcd¶
Boolean, whether the invite is intended to be easy to read and remember by a human.