interface PartialGuildScheduledEvent {
    channel: null | StageChannel | VoiceChannel;
    channelId: null | string;
    client: Client<true>;
    createdAt: Date;
    createdTimestamp: number;
    creator: null | User;
    creatorId: null | string;
    description: null | string;
    entityId: null | string;
    entityMetadata: null | GuildScheduledEventEntityMetadata;
    entityType: null | GuildScheduledEventEntityType;
    guild: null | Guild;
    guildId: string;
    id: string;
    image: null | string;
    name: null | string;
    partial: true;
    privacyLevel: null | GuildOnly;
    recurrenceRule: null | GuildScheduledEventRecurrenceRule;
    scheduledEndAt: null | Date;
    scheduledEndTimestamp: null | number;
    scheduledStartAt: null | Date;
    scheduledStartTimestamp: null | number;
    status: null | GuildScheduledEventStatus;
    url: string;
    userCount: null;
    coverImageURL(options?: Readonly<BaseImageURLOptions>): null | string;
    createInviteURL(
        options?: GuildScheduledEventInviteURLCreateOptions,
    ): Promise<string>;
    delete(): Promise<GuildScheduledEvent<GuildScheduledEventStatus>>;
    edit<AcceptableStatus extends Active | Completed | Canceled>(
        options: GuildScheduledEventEditOptions<
            GuildScheduledEventStatus,
            AcceptableStatus,
        >,
    ): Promise<GuildScheduledEvent<AcceptableStatus>>;
    fetch(
        force?: boolean,
    ): Promise<GuildScheduledEvent<GuildScheduledEventStatus>>;
    fetchSubscribers<
        Options extends FetchGuildScheduledEventSubscribersOptions,
    >(
        options?: Options,
    ): Promise<GuildScheduledEventManagerFetchSubscribersResult<Options>>;
    isActive(): this is GuildScheduledEvent<Active>;
    isCanceled(): this is GuildScheduledEvent<Canceled>;
    isCompleted(): this is GuildScheduledEvent<Completed>;
    isScheduled(): this is GuildScheduledEvent<Scheduled>;
    setDescription(
        description: string,
        reason?: string,
    ): Promise<GuildScheduledEvent<GuildScheduledEventStatus>>;
    setLocation(
        location: string,
        reason?: string,
    ): Promise<GuildScheduledEvent<GuildScheduledEventStatus>>;
    setName(
        name: string,
        reason?: string,
    ): Promise<GuildScheduledEvent<GuildScheduledEventStatus>>;
    setScheduledEndTime(
        scheduledEndTime: DateResolvable,
        reason?: string,
    ): Promise<GuildScheduledEvent<GuildScheduledEventStatus>>;
    setScheduledStartTime(
        scheduledStartTime: DateResolvable,
        reason?: string,
    ): Promise<GuildScheduledEvent<GuildScheduledEventStatus>>;
    setStatus<AcceptableStatus extends Active | Completed | Canceled>(
        status: AcceptableStatus,
        reason?: string,
    ): Promise<GuildScheduledEvent<AcceptableStatus>>;
    toJSON(...props: Record<string, string | boolean>[]): unknown;
    toString(): string;
    valueOf(): string;
}

Hierarchy (View Summary)

  • Partialize<
        GuildScheduledEvent,
        "userCount",
        "status"
        | "privacyLevel"
        | "name"
        | "entityType",
    >
    • PartialGuildScheduledEvent

Properties

channel: null | StageChannel | VoiceChannel
channelId: null | string
client: Client<true>
createdAt: Date
createdTimestamp: number
creator: null | User
creatorId: null | string
description: null | string
entityId: null | string
entityMetadata: null | GuildScheduledEventEntityMetadata
guild: null | Guild
guildId: string
id: string
image: null | string
name: null | string
partial: true
privacyLevel: null | GuildOnly
recurrenceRule: null | GuildScheduledEventRecurrenceRule
scheduledEndAt: null | Date
scheduledEndTimestamp: null | number
scheduledStartAt: null | Date
scheduledStartTimestamp: null | number
url: string
userCount: null

Methods

  • Parameters

    • ...props: Record<string, string | boolean>[]

    Returns unknown

  • Returns a string representation of an object.

    Returns string

  • Returns string