Latest
interface DiscordInviteCreate
import { type DiscordInviteCreate } from "https://dotland.deno.dev/x/discordeno@18.0.1/plugins/helpers/deps.ts";

Properties

channel_id: string

The channel the invite is for

code: string

The unique invite code

created_at: string

The time at which the invite was created

optional
guild_id: string

The guild of the invite

optional
inviter: DiscordUser

The user that created the invite

max_age: number

How long the invite is valid for (in seconds)

max_uses: number

The maximum number of times the invite can be used

target_type: TargetTypes

The type of target for this voice channel invite

optional
target_user: DiscordUser

The target user for this invite

optional
target_application: Partial<DiscordApplication>

The embedded application to open for this voice channel embedded application invite

temporary: boolean

Whether or not the invite is temporary (invited users will be kicked on disconnect unless they're assigned a role)

uses: number

How many times the invite has been used (always will be 0)

import DiscordInviteCreate
import { DiscordInviteCreate } from "https://dotland.deno.dev/x/discordeno@18.0.1/plugins/helpers/deps.ts";