DiscordInvite
Defined in: bot/bot.type.ts:679
A server invite, as Discord returns it.
Properties
Section titled “Properties”channel_id?
Section titled “channel_id?”
optionalchannel_id?:string
Defined in: bot/bot.type.ts:683
Id of the channel the invite leads to.
code:
string
Defined in: bot/bot.type.ts:681
The invite code, the part after discord.gg/.
optionaluses?:number
Defined in: bot/bot.type.ts:685
How many times the invite has been used.