- addToQueue(channelId, webhook, opts, threadId): void
-
Parameters
-
channelId: string
-
webhook: string
-
opts: {
components?: ActionRowBuilder<AnyComponentBuilder>[];
embeds?: EmbedBuilder[];
files?: RawFile[];
webhook?: {
icon?: string;
name?: string;
};
}
-
Optional components?: ActionRowBuilder<AnyComponentBuilder>[]
-
Optional embeds?: EmbedBuilder[]
-
Optional files?: RawFile[]
-
Optional webhook?: {
icon?: string;
name?: string;
}
-
Optional icon?: string
-
Optional name?: string
-
threadId: undefined | string
Returns void