Skip to main content
Module

x/natico/deps.ts>DiscordenoInvite

A powerful and customizable framework for Discordeno
Latest
interface DiscordenoInvite
Re-export
import { type DiscordenoInvite } from "https://deno.land/x/natico@4.0.0-pre.4/deps.ts";

Properties

channelId: bigint

The channel the invite is for

code: string

The unique invite code

createdAt: number

The time at which the invite was created

optional
guildId: bigint

The guild of the invite

optional
inviter: DiscordenoUser

The user that created the invite

maxAge: number

How long the invite is valid for (in seconds)

maxUses: number

The maximum number of times the invite can be used

targetType: TargetTypes

The type of target for this voice channel invite

optional
targetUser: DiscordenoUser

The target user for this invite

optional
targetApplication: Partial<DiscordenoApplication>

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)