Skip to content

DiscordInvite

Defined in: bot/bot.type.ts:679

A server invite, as Discord returns it.

optional channel_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/.


optional uses?: number

Defined in: bot/bot.type.ts:685

How many times the invite has been used.