Type alias CreateGuildData
CreateGuildData: {
afk_channel_id?: string;
afk_timeout?: number;
channels?: ({
id?: string;
name: string;
parent_id?: string;
type: Exclude<GuildChannel["type"], CategoryChannel["type"]>;
} | {
id: string;
name: string;
type: CategoryChannel["type"];
})[];
default_message_notifications?: MessageNotificationLevel;
icon?: string;
name: string;
roles?: Partial<Role>[];
system_channel_flags?: number;
system_channel_id?: string;
verification_level?: VerificationLevel;
}
Type declaration
-
Optional afk_channel_id?: string
-
Optional afk_timeout?: number
-
Optional channels?: ({
id?: string;
name: string;
parent_id?: string;
type: Exclude<GuildChannel["type"], CategoryChannel["type"]>;
} | {
id: string;
name: string;
type: CategoryChannel["type"];
})[]
-
Optional default_message_notifications?: MessageNotificationLevel
-
Optional icon?: string
-
name: string
-
Optional roles?: Partial<Role>[]
-
Optional system_channel_flags?: number
-
Optional system_channel_id?: string
-
Optional verification_level?: VerificationLevel
id for afk channel